Browse Source

🎨Add comments

chuzhixin 4 năm trước cách đây
mục cha
commit
d0efbbe19d
8 tập tin đã thay đổi với 29 bổ sung3 xóa
  1. 4 0
      .stylelintrc.js
  2. 4 0
      babel.config.js
  3. 1 0
      deploy.sh
  4. 4 1
      plopfile.js
  5. 5 0
      prettier.config.js
  6. 2 1
      push.sh
  7. 5 0
      vue.config.js
  8. 4 1
      webstorm.config.js

+ 4 - 0
.stylelintrc.js

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

+ 4 - 0
babel.config.js

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

+ 1 - 0
deploy.sh

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

+ 4 - 1
plopfile.js

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

+ 5 - 0
prettier.config.js

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

+ 2 - 1
push.sh

@@ -1,8 +1,9 @@
+#强制推送
 #!/usr/bin/env bash
 set -e
 git init
 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
 exec /bin/bash
 

+ 5 - 0
vue.config.js

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

+ 4 - 1
webstorm.config.js

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