npm install
npm run serve
npm run build
npm run lint
{
"eslint.autoFixOnSave": true,//保存时自动格式化
"eslint.validate": [ //配置作用的文件类型
"javascript",
"javascriptreact",
{
"language": "html",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
}
]
}
const path = require('path')
function resolve (dir) {
return path.join(__dirname, dir)
}
module.exports = {
lintOnSave: true,
chainWebpack: (config) => {
config.resolve.alias
.set('@$', resolve('src'))
.set('assets', resolve('src/assets'))
.set('components', resolve('src/components'))
.set('layout', resolve('src/layout'))
.set('base', resolve('src/base'))
.set('static', resolve('src/static'))
},
publicPath: './'
}
git status
git checkout -b 'NewBranchName'
git branch
git checkout branchName
git pull origin branchName
git status
git add .
git commit -m "备注消息"
git branch
git checkout branchName
git merge branchname
git push
git checkout -b 分支名
git push -u origin 分支名