vue前端作业

zhuangyp 19479d0177 test %!s(int64=4) %!d(string=hai) anos
build 4991bac13a init %!s(int64=4) %!d(string=hai) anos
mock 4991bac13a init %!s(int64=4) %!d(string=hai) anos
public 4991bac13a init %!s(int64=4) %!d(string=hai) anos
src 19479d0177 test %!s(int64=4) %!d(string=hai) anos
tests 4991bac13a init %!s(int64=4) %!d(string=hai) anos
.editorconfig 4991bac13a init %!s(int64=4) %!d(string=hai) anos
.env.development 4991bac13a init %!s(int64=4) %!d(string=hai) anos
.env.production 4991bac13a init %!s(int64=4) %!d(string=hai) anos
.env.staging 4991bac13a init %!s(int64=4) %!d(string=hai) anos
.eslintignore 4991bac13a init %!s(int64=4) %!d(string=hai) anos
.eslintrc.js 4991bac13a init %!s(int64=4) %!d(string=hai) anos
.gitignore 4991bac13a init %!s(int64=4) %!d(string=hai) anos
.postcssrc.js 4991bac13a init %!s(int64=4) %!d(string=hai) anos
.travis.yml 4991bac13a init %!s(int64=4) %!d(string=hai) anos
Dockerfile 4991bac13a init %!s(int64=4) %!d(string=hai) anos
Dockerfile.builder 4991bac13a init %!s(int64=4) %!d(string=hai) anos
Dockerfile 4991bac13a init %!s(int64=4) %!d(string=hai) anos
LICENSE 4991bac13a init %!s(int64=4) %!d(string=hai) anos
README.md 4991bac13a init %!s(int64=4) %!d(string=hai) anos
babel.config.js 4991bac13a init %!s(int64=4) %!d(string=hai) anos
debug.log c1655bbb81 test %!s(int64=4) %!d(string=hai) anos
docker-auto-push.sh 4991bac13a init %!s(int64=4) %!d(string=hai) anos
docker-entrypoint.sh 4991bac13a init %!s(int64=4) %!d(string=hai) anos
docker-init.sh 4991bac13a init %!s(int64=4) %!d(string=hai) anos
jest.config.js 4991bac13a init %!s(int64=4) %!d(string=hai) anos
package.json 4991bac13a init %!s(int64=4) %!d(string=hai) anos
pushTest.txt 4991bac13a init %!s(int64=4) %!d(string=hai) anos
vue.config.js 4991bac13a init %!s(int64=4) %!d(string=hai) anos

README.md

启动服务

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

vscode eslint settings

"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 */

Browsers support

Modern browsers and Internet Explorer 10+.

IE / EdgeFirefoxChrome
IE / Edge
Firefox
Chrome
SafariSafari IE10, IE11, Edge last 2 versions last 2 versions last 2 versions