04 2020 档案

摘要:1. 启动redis redis-server 2. 初始化 node操作redis需要引入redis包; const redis = require('redis'); const client = redis.createClient( 6379, '127.0.0.1'); const uti 阅读全文
posted @ 2020-04-30 08:08 mrt_yy 阅读(250) 评论(0) 推荐(0) 编辑
摘要:let routes = [ { path: "/cover/:id", component: resolve => require(['./cover.vue'], resolve), name: "cover", },] this.$router.options.routes.push(rout 阅读全文
posted @ 2020-04-23 21:56 mrt_yy 阅读(833) 评论(0) 推荐(0) 编辑
摘要:利用adb无线连接android手机进行调试 无需获得root权限要想使用无线调试有两个必须条件 1.手机和我们的电脑要处于同一网络,就是两个设备之间的ip地址能够连通。 2.安装了adb,作为android开发者都应该知道它的路径是在sdk下的 platform-tools的文件夹里面,当然你也可 阅读全文
posted @ 2020-04-16 21:44 mrt_yy 阅读(1563) 评论(0) 推荐(0) 编辑
摘要:{ "dependencies": { "vue": "^2.5.10", "vue-i18n": "^7.8.0" }, "devDependencies": { "@vue/cli-service": "^3.0.1", "compression-webpack-plugin": "^3.1.0 阅读全文
posted @ 2020-04-12 01:24 mrt_yy 阅读(13447) 评论(0) 推荐(0) 编辑
摘要:1.核心插件 cnpm install prerender-spa-plugin --save-dev 2.vue-config.js中 const path = require('path'); const PrerenderSPAPlugin = require('prerender-spa-p 阅读全文
posted @ 2020-04-10 13:18 mrt_yy 阅读(968) 评论(0) 推荐(0) 编辑
摘要:1. vue init webpack-simple my-project 创建新的webpack-simple 项目 2. src文件夹内自定义组件 文件夹 3. npm install npm run dev 测试一下组件是否可以正常使用 4. 打开 src/App.vue 文件,修改为 5.  阅读全文
posted @ 2020-04-02 15:31 mrt_yy 阅读(686) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示