Skip to content

Commit 3f45709

Browse files
committed
1 parent a94b23c commit 3f45709

37 files changed

+9188
-10154
lines changed

.babelrc

-12
This file was deleted.

.editorconfig

-9
This file was deleted.

.env.development

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# just a flag
2+
ENV = 'development'
3+
4+
VUE_APP_BASE_API = ''
5+
6+
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
7+
# to control whether the babel-plugin-dynamic-import-node plugin is enabled.
8+
# It only does one thing by converting all import() to require().
9+
# This configuration can significantly increase the speed of hot updates,
10+
# when you have a large number of pages.
11+
# Detail: https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js
12+
13+
VUE_CLI_BABEL_TRANSPILE_MODULES = true

.env.production

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# just a flag
2+
ENV = 'production'
3+
4+
VUE_APP_BASE_API = 'https://www.lyh.red'

.eslintignore

-4
This file was deleted.

.eslintrc.js

+7-16
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,18 @@
1-
// https://eslint.org/docs/user-guide/configuring
2-
31
module.exports = {
42
root: true,
53
parserOptions: {
6-
parser: 'babel-eslint'
4+
parser: 'babel-eslint',
5+
sourceType: 'module'
76
},
87
env: {
98
browser: true,
9+
node: true,
10+
es6: true,
1011
},
11-
extends: [
12-
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
13-
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
14-
'plugin:vue/essential',
15-
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
16-
'standard'
17-
],
18-
// required to lint *.vue files
19-
plugins: [
20-
'vue'
21-
],
22-
// 设置可以使用的全局变量
23-
globals: {"tpwidget": true},
12+
extends: ['plugin:vue/recommended', 'eslint:recommended'],
13+
2414
// add your custom rules here
15+
//it is base on https://github.com/vuejs/eslint-config-vue
2516
rules: {
2617
// allow async-await
2718
'generator-star-spacing': 'off',

.gitignore

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
.DS_Store
2-
node_modules/
3-
/dist/
4-
/admin/
2+
node_modules
3+
/admin
4+
5+
# local env files
6+
.env.local
7+
.env.*.local
8+
9+
# Log files
510
npm-debug.log*
611
yarn-debug.log*
712
yarn-error.log*
@@ -11,4 +16,6 @@ yarn-error.log*
1116
.vscode
1217
*.suo
1318
*.ntvs*
14-
*.njsproj
19+
*.njsproj
20+
*.sln
21+
*.sw?

.postcssrc.js

-10
This file was deleted.

.project

-28
This file was deleted.

babel.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/app'
4+
]
5+
}

build/build.js

-41
This file was deleted.

build/check-versions.js

-54
This file was deleted.

build/logo.png

-6.69 KB
Binary file not shown.

build/utils.js

-102
This file was deleted.

build/vue-loader.conf.js

-22
This file was deleted.

0 commit comments

Comments
 (0)