1.解决 vue 的缩进问题
配置 eslint , 只要要eslint 对应的值为 0,则 eslint 将不会对其进行检测 (.eslintrc.js -- rules )
A. 不检测 缩进 --> 'indent': 0
B. 不检测 函数的 space --> 'space-before-function-paren': 0
2. vue 的 sass 调用 mixin 函数
需要添加 @mixin
.
1.解决 vue 的缩进问题
配置 eslint , 只要要eslint 对应的值为 0,则 eslint 将不会对其进行检测 (.eslintrc.js -- rules )
A. 不检测 缩进 --> 'indent': 0
B. 不检测 函数的 space --> 'space-before-function-paren': 0
2. vue 的 sass 调用 mixin 函数
需要添加 @mixin
.
上一篇:vue 项目心得
下一篇:vue-resource
Vue3 创建一个应用
1.编写被引入的页面:<template> <div id=
1.首先在根目录中pages创建目录common,再创建您要引入的Vue页面,比如csdn.vue。2.在csdn.vue页面里您编写自己要开发的内容。3.然后在index.vue页面进行引入。根据自己的需求进行修改,我只是举例。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M