上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 67 下一页
摘要: npm rebuild node-sass 阅读全文
posted @ 2018-02-09 18:17 贝尔塔猫 阅读(1157) 评论(0) 推荐(0)
摘要: 安装:npm install yargs --save-dev Example index.js 命令行输入: $ node index.js -n fuck -p 8080 -tpl components 阅读全文
posted @ 2018-02-09 10:29 贝尔塔猫 阅读(773) 评论(0) 推荐(0)
摘要: 人机交互 阅读全文
posted @ 2018-02-09 10:25 贝尔塔猫 阅读(541) 评论(0) 推荐(0)
摘要: 示例:获取 ./components 下所有的文件夹名称 阅读全文
posted @ 2018-02-08 10:07 贝尔塔猫 阅读(15437) 评论(1) 推荐(0)
摘要: 路径在/config/index.js 中,找到dev.proxyTable。如下配置示例: 那么当我们请求 http://localhost:8888/api/ 的时候,就等于请求了 http://oatest.bujidele.com:8010/apitest/api/tydproject/do 阅读全文
posted @ 2018-02-07 09:43 贝尔塔猫 阅读(1839) 评论(0) 推荐(1)
摘要: 答案就是使用ref即可。 阅读全文
posted @ 2018-02-07 09:42 贝尔塔猫 阅读(1533) 评论(0) 推荐(0)
摘要: vue.extend 局部注册 的应用2 请注意,extend创建的是一个组件构造器,而不是一个具体的组件实例。所以他不能直接在new Vue中这样使用: new Vue({components: fuck}) 最终还是要通过Vue.components注册才可以使用的。 54、vue.extend 阅读全文
posted @ 2018-02-07 09:41 贝尔塔猫 阅读(57570) 评论(2) 推荐(1)
摘要: 手动挂载$mount() 如果没有挂载的话,没有关联的 DOM 元素。是获取不到$el的。 https://vuejs.org/v2/api/#vm-mount 阅读全文
posted @ 2018-02-07 09:40 贝尔塔猫 阅读(8687) 评论(0) 推荐(1)
摘要: 销毁组件 阅读全文
posted @ 2018-02-07 09:40 贝尔塔猫 阅读(10771) 评论(0) 推荐(0)
摘要: Error: [vuex] vuex requires a Promise polyfill in this browser. 与 babel-polyfill 的问题 采用最笨重的解决方案就是npm install babel-polyfill 然后在webpack中如此设置: 但在开发环境下,我 阅读全文
posted @ 2018-02-07 09:37 贝尔塔猫 阅读(420) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 67 下一页