2020年6月18日

使用vue-cli 4.0 搭建后台系统(顶部导航和左侧导航) 第三集

摘要: 1.路由处理 分为两部分 ,一部分是不需要权限的或者不需要异步加载的路由 第二部分异步加载的路由。 最后组合成一张路由表。 逻辑在router>index.js 下面是异步路由表的一个构建形式 ,生成的页面演示 { 'path': '/home', 'icon': 'speedometer', 'n 阅读全文

posted @ 2020-06-18 14:13 myYouth 阅读(1071) 评论(0) 推荐(0) 编辑

使用vue-cli 4.0 搭建后台系统(顶部导航和左侧导航) 第二集

摘要: 1. 搭建页面整体布局 layout>index.vue <template> <div :class="classObj"> <!-- 顶部导航 --> <div class="navbar-container"> <NavBar @select="selectMenu" /> </div> <! 阅读全文

posted @ 2020-06-18 13:57 myYouth 阅读(751) 评论(0) 推荐(0) 编辑

2020年5月22日

vue截图,上传,下载,预览

摘要: 1. npm install html2canvas -D ; 2. 需要截图的页面引入 import html2canvas from 'html2canvas' 3.需要截图的容器加 ref; <div ref="imageTofile" class="dashboard-container h 阅读全文

posted @ 2020-05-22 10:30 myYouth 阅读(2040) 评论(0) 推荐(1) 编辑

2020年5月8日

使用vue-cli 4.0 搭建后台系统 (顶部导航+左侧导航) 第一集

摘要: 访问链接: http://youthok.gitee.io/smart_vue_template/index.html#/login?redirect=%2Fhome%2Fmain%2Fmallboard gitee:地址 https://gitee.com/youthOk/smart_vue_te 阅读全文

posted @ 2020-05-08 15:24 myYouth 阅读(926) 评论(5) 推荐(1) 编辑

2020年2月23日

vue 移动端商城搭建 (一)

摘要: 第一步:安装 vue-cli3 npm install -g @vue/cli第二步: 创建 工程 vue create my-shop第三步:配置eslint下载 :npm install eslint-loader --save-dev; 下载 npm install eslint --save 阅读全文

posted @ 2020-02-23 17:38 myYouth 阅读(1749) 评论(0) 推荐(0) 编辑

2020年2月3日

widows 10 下解决在npm install python 环境报错的问题

摘要: 1.使用管理员打开cmd 2.安装 node-gyp; gyp是一种根据c++源代码编译的工具,node-gyp就是为node编译c++扩展的时候使用的编译工具。 npm install -g node-gyp 3.python2.7 因为node-gyp需要依赖python2.7和微软的vc++构 阅读全文

posted @ 2020-02-03 12:39 myYouth 阅读(4661) 评论(0) 推荐(0) 编辑

2019年10月10日

html+css 常用布局

摘要: 1.中间固定宽度,两侧自适应 1.1 flex布局 <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> html,body,div{ height: 100%; } .le 阅读全文

posted @ 2019-10-10 11:27 myYouth 阅读(492) 评论(0) 推荐(0) 编辑

2019年9月9日

css 导航样式

摘要: html 结构 <div class="nav-menu float-r"> <ul class="menu-item"> <li> <a class="full-size" href="index.html"> 首页 </a> </li> <li> <a class="full-size" hre 阅读全文

posted @ 2019-09-09 10:15 myYouth 阅读(752) 评论(0) 推荐(0) 编辑

2019年7月12日

Mac 安装react-native 环境踩坑记

摘要: 我的工程创建时间是2019.7.11号下午 :首先看一下最后我的工程的package.json各个包的版本: 1.安装依赖 brew install node brew install watchman 注意 node>10 安装yarn npm install -g yarn react-nati 阅读全文

posted @ 2019-07-12 10:35 myYouth 阅读(952) 评论(0) 推荐(0) 编辑

2019年6月11日

Mac 安装flutter 踩坑记

摘要: 完整版请看链接: http://b36d5043.wiz03.com/share/s/2Prl132RpQ3x2XpA4I2oTa2204K0FF0vB4J42tWIEQ04UrAg 首先下载flutter SDK; 解压的/Users/app/下 下载: Android Studio 并且安转,默 阅读全文

posted @ 2019-06-11 12:52 myYouth 阅读(3833) 评论(0) 推荐(0) 编辑

导航