上一页 1 2 3 4 5 6 7 ··· 34 下一页
摘要: 1. teambition 阅读全文
posted @ 2020-10-16 09:32 lvlin241 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 1. webpack中文网 阅读全文
posted @ 2020-09-28 16:51 lvlin241 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 参考: 1. vue项目安装vux(推荐) 2. 官网 <1> 手动配置webpack <2> 引用示例 阅读全文
posted @ 2020-09-28 16:06 lvlin241 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1. 背景 有2个父子组件(父组件:HelloWorld,子组件: TestScope),父组件里面引用了子组件,希望在父组件中改变子组件的样式(注意:子组件中的样式使用了scope)。 <!--HelloWorld.vue--> <template> <div class="hello"> <h1 阅读全文
posted @ 2020-09-28 10:23 lvlin241 阅读(1077) 评论(0) 推荐(0) 编辑
摘要: config/index.js 属性 autoOpenBrowser 配置为true 阅读全文
posted @ 2020-09-27 17:28 lvlin241 阅读(2230) 评论(0) 推荐(0) 编辑
摘要: 修改配置config/index.js // 引入 const ip = require('ip') // 配置IP host: ip.address() 阅读全文
posted @ 2020-09-27 17:26 lvlin241 阅读(952) 评论(0) 推荐(0) 编辑
摘要: 1. 背景 在 VUE中,我们会使用axios来存取api ,但是axios 会使用到 ES6 的 Promise ,而IE会没有无法支持,因此我们要用babel-polyfill来将ES6的语法转到ES5。 2. 安裝 babel-polyfill npm install --save babel 阅读全文
posted @ 2020-09-27 15:45 lvlin241 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 1. 安装nodejs <1> 下载并安装nodejs nodejs下载 <2> 配置镜像库(国内一般配置为淘宝的) npm config set registry https://registry.npm.taobao.org npm config get registry // 查看本地镜像库地 阅读全文
posted @ 2020-09-27 14:36 lvlin241 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 算法网 阅读全文
posted @ 2020-09-21 23:32 lvlin241 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 1. watch 监听机制 针对当前组件中的初始值来进行判断的,即当进入页面执行created方法时,就会触发watch方法。 2. watch如何在初始化之后使用(即在created方法执行时,不调用watch里面的监听逻辑) 场景:要求首次进入页面时,不触发watch监听事件改变数据,当页面加载 阅读全文
posted @ 2020-09-17 15:57 lvlin241 阅读(684) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 34 下一页