zhuangyp 19479d0177 test | 4 lat temu | |
---|---|---|
build | 4 lat temu | |
mock | 4 lat temu | |
public | 4 lat temu | |
src | 4 lat temu | |
tests | 4 lat temu | |
.editorconfig | 4 lat temu | |
.env.development | 4 lat temu | |
.env.production | 4 lat temu | |
.env.staging | 4 lat temu | |
.eslintignore | 4 lat temu | |
.eslintrc.js | 4 lat temu | |
.gitignore | 4 lat temu | |
.postcssrc.js | 4 lat temu | |
.travis.yml | 4 lat temu | |
Dockerfile.dev | 4 lat temu | |
Dockerfile.builder | 4 lat temu | |
Dockerfile.dev | 4 lat temu | |
LICENSE | 4 lat temu | |
README.md | 4 lat temu | |
babel.config.js | 4 lat temu | |
debug.log | 4 lat temu | |
docker-auto-push.sh | 4 lat temu | |
docker-entrypoint.sh | 4 lat temu | |
docker-init.sh | 4 lat temu | |
jest.config.js | 4 lat temu | |
package.json | 4 lat temu | |
pushTest.txt | 4 lat temu | |
vue.config.js | 4 lat temu |
npm run dev
浏览器访问 [http://localhost:9528](http://localhost:9528)
## 发布
```bash
# 构建测试环境
npm run staging
# 构建生产环境
npm run build
# 预览发布环境效果
npm run preview
# 预览发布环境效果 + 静态资源分析
npm run preview -- --report
# 代码格式检查
npm run lint
# 代码格式检查并自动修复
npm run lint -- --fix
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
{
"language": "vue",
"autoFix": true
}
],
"eslint.options": {
"plugins": [
"html"
]
},
"eslint.autoFixOnSave": true
# ignore line
// eslint-disable-next-line
# ignore file
/* eslint-disable */
Modern browsers and Internet Explorer 10+.
IE / Edge | Firefox | Chrome |
---|