随笔分类 -  VUE

vue相关知识
摘要:参考 vue 父子组件的生命周期顺序 阅读全文
posted @ 2021-01-11 16:51 lvlin241 编辑
摘要:1. vue vux使用,$vux.confirm如何停止往下运行 参考:https://www.imooc.com/wenda/detail/534692 <template> </template> <script> export default { name: "test", method: 阅读全文
posted @ 2020-11-12 09:45 lvlin241 阅读(143) 评论(0) 推荐(0) 编辑
摘要:1. webpack中文网 阅读全文
posted @ 2020-09-28 16:51 lvlin241 阅读(53) 评论(0) 推荐(0) 编辑
摘要:参考: 1. vue项目安装vux(推荐) 2. 官网 <1> 手动配置webpack <2> 引用示例 阅读全文
posted @ 2020-09-28 16:06 lvlin241 阅读(192) 评论(0) 推荐(0) 编辑
摘要:1. 背景 有2个父子组件(父组件:HelloWorld,子组件: TestScope),父组件里面引用了子组件,希望在父组件中改变子组件的样式(注意:子组件中的样式使用了scope)。 <!--HelloWorld.vue--> <template> <div class="hello"> <h1 阅读全文
posted @ 2020-09-28 10:23 lvlin241 阅读(1086) 评论(0) 推荐(0) 编辑
摘要:config/index.js 属性 autoOpenBrowser 配置为true 阅读全文
posted @ 2020-09-27 17:28 lvlin241 阅读(2234) 评论(0) 推荐(0) 编辑
摘要:修改配置config/index.js // 引入 const ip = require('ip') // 配置IP host: ip.address() 阅读全文
posted @ 2020-09-27 17:26 lvlin241 阅读(964) 评论(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 阅读(511) 评论(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 阅读(104) 评论(0) 推荐(0) 编辑
摘要:参考 yourArr=JSON.parse(JSON.stringify(yourArr)) 阅读全文
posted @ 2020-08-21 16:07 lvlin241 阅读(3538) 评论(0) 推荐(0) 编辑
摘要:基于WeUI和Vue(2.x)开发的移动端UI组件库,主要服务于微信页面 VUX react/angular element 其他UI库 阅读全文
posted @ 2020-06-02 17:59 lvlin241 阅读(369) 评论(0) 推荐(0) 编辑
摘要:Lodash 阅读全文
posted @ 2020-06-02 14:16 lvlin241 阅读(419) 评论(0) 推荐(0) 编辑
摘要:1. 问题描述 <1> 问题:从SVN上down下来的VUE项目,本地webstorm启动出现以下问题 原因分析:webstorm自动使用npm install命令运行,但是node_modules里面有未安装的依赖,需要忽略该依赖; 解决方案: <1> 删除项目根路径下的 node_modules 阅读全文
posted @ 2020-04-29 18:18 lvlin241 阅读(130) 评论(0) 推荐(0) 编辑
摘要:VUE官网 VUE学习 (慕课网) VUE学习(视频) sublime 属性绑定:v-bind:属性名 简写为 :属性名 双向绑定:v-model 属性计算:compute 监听器 : watch 判断 :v-show、v-if 前者不显示时只是隐藏DOM,后者不显示时是删除DOM 循环 :v-fo 阅读全文
posted @ 2020-01-09 18:15 lvlin241 阅读(110) 评论(0) 推荐(0) 编辑
摘要:nodejs历史版本 查看npm镜像库 npm config get registry 更改npm镜像库 npm config set registry https://registry.npm.taobao.org 阅读全文
posted @ 2020-01-08 11:31 lvlin241 阅读(106) 评论(0) 推荐(0) 编辑

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