- 授权协议: 未知
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://gitee.com/eoner/vue-automation
软件介绍
说明
该仓库是为统一 Vue 项目初期配置而设立,方便快速进行业务开发。
依赖
vue-router
vuex
axios
vue-cookies
vue-meta
node-sass
sass-loader
webpack-spritesmith
例子
拉取到本地运行后,会看到部分功能演示,同时项目目录里带有 example 的目录均为演示代码。
IDE(编辑器)
推荐使用 VS Code ,并安装以下扩展:
ESLint 参考配置
"eslint.validate": [
"javascript",
"javascriptreact",
"vue-html",
{
"language": "vue",
"autoFix": true
}
],
"eslint.run": "onSave",
"eslint.autoFixOnSave": true,
"eslint.packageManager": "yarn"代码风格
如果不能接受本项目的代码风格,可在 .editconfig.js 和 .eslintrc.js 中分别修改编辑器配置和代码风格规则后,运行 npm run lint 进行代码风格检查并修复。
例如你想以 2 个空格进行代码缩进,需要在 .editconfig.js 里将 indent_size = 4 改为 indent_size = 2 ,在 .eslintrc.js里分别将 indent 、vue/html-indent 、vue/script-indent 均设置为 2 ,最后运行 npm run lint ,部分规则可能不支持自动修复,则需要手动操作,可以参考以下两个规则配置文档:
Learning PHP 5
David Sklar / O'Reilly / July, 2004 / $29.95
Learning PHP 5 is the ideal tutorial for graphic designers, bloggers, and other web crafters who want a thorough but non-intimidating way to understand the code that makes web sites dynamic. The book ......一起来看看 《Learning PHP 5》 这本书的介绍吧!
