🎨Add comments

This commit is contained in:
chuzhixin 2020-10-23 10:38:24 +08:00
parent 56e4805cf4
commit d0efbbe19d
8 changed files with 29 additions and 3 deletions

View File

@ -1,3 +1,7 @@
/**
* @author chuzhixin 1204505056@qq.com 不想保留author可删除
* @description stylelint
*/
module.exports = { module.exports = {
extends: ['stylelint-config-recess-order', 'stylelint-config-prettier'], extends: ['stylelint-config-recess-order', 'stylelint-config-prettier'],
} }

View File

@ -1,3 +1,7 @@
/**
* @author chuzhixin 1204505056@qq.com 不想保留author可删除
* @description babel.config
*/
module.exports = { module.exports = {
presets: ['@vue/cli-plugin-babel/preset'], presets: ['@vue/cli-plugin-babel/preset'],
} }

View File

@ -1,3 +1,4 @@
#强制推送
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
npm run build npm run build

View File

@ -1,9 +1,12 @@
/**
* @author chuzhixin 1204505056@qq.com 不想保留author可删除
* @description 代码生成机
*/
const viewGenerator = require('zx-templates/view/prompt') const viewGenerator = require('zx-templates/view/prompt')
const curdGenerator = require('zx-templates/curd/prompt') const curdGenerator = require('zx-templates/curd/prompt')
const componentGenerator = require('zx-templates/component/prompt') const componentGenerator = require('zx-templates/component/prompt')
const mockGenerator = require('zx-templates/mock/prompt') const mockGenerator = require('zx-templates/mock/prompt')
const vuexGenerator = require('zx-templates/vuex/prompt') const vuexGenerator = require('zx-templates/vuex/prompt')
module.exports = (plop) => { module.exports = (plop) => {
plop.setGenerator('view', viewGenerator) plop.setGenerator('view', viewGenerator)
plop.setGenerator('curd', curdGenerator) plop.setGenerator('curd', curdGenerator)

View File

@ -1,3 +1,8 @@
/**
* @author chuzhixin 1204505056@qq.com 不想保留author可删除
* @description 代码规范
*/
module.exports = { module.exports = {
printWidth: 80, printWidth: 80,
tabWidth: 2, tabWidth: 2,

View File

@ -1,8 +1,9 @@
#强制推送
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
git init git init
git add -A git add -A
git commit -m '🎉🎉🎉仓库重置到2020年9月29日Vue2.6最后一个版本之前版本不再支持具体请查阅文档Vue 3.0版本即将发布请耐心等待!!!' git commit -m '🎉deploy'
git push -f "https://${access_token}@github.com/chuzhixin/vue-admin-beautiful.git" master git push -f "https://${access_token}@github.com/chuzhixin/vue-admin-beautiful.git" master
exec /bin/bash exec /bin/bash

View File

@ -1,3 +1,8 @@
/**
* @author chuzhixin 1204505056@qq.com 不想保留author可删除
* @description cli配置
*/
const path = require('path') const path = require('path')
const { const {
publicPath, publicPath,

View File

@ -1,3 +1,6 @@
'use strict' /**
* @author chuzhixin 1204505056@qq.com 不想保留author可删除
* @description webstorm.config
*/
const webpackConfig = require('@vue/cli-service/webpack.config.js') const webpackConfig = require('@vue/cli-service/webpack.config.js')
module.exports = webpackConfig module.exports = webpackConfig