diff --git a/web/.editorconfig b/web/.editorconfig deleted file mode 100644 index ea6e20f..0000000 --- a/web/.editorconfig +++ /dev/null @@ -1,14 +0,0 @@ -# http://editorconfig.org -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -end_of_line = lf -insert_final_newline = true -trim_trailing_whitespace = true - -[*.md] -insert_final_newline = false -trim_trailing_whitespace = false diff --git a/web/.env.development b/web/.env.development deleted file mode 100644 index de583d0..0000000 --- a/web/.env.development +++ /dev/null @@ -1,5 +0,0 @@ -# just a flag -ENV = 'development' - -# base api -VUE_APP_BASE_API = '/dev-api' diff --git a/web/.env.production b/web/.env.production deleted file mode 100644 index 8994f69..0000000 --- a/web/.env.production +++ /dev/null @@ -1,6 +0,0 @@ -# just a flag -ENV = 'production' - -# base api -VUE_APP_BASE_API = '' - diff --git a/web/.env.staging b/web/.env.staging deleted file mode 100644 index a8793a0..0000000 --- a/web/.env.staging +++ /dev/null @@ -1,8 +0,0 @@ -NODE_ENV = production - -# just a flag -ENV = 'staging' - -# base api -VUE_APP_BASE_API = '/stage-api' - diff --git a/web/.eslintignore b/web/.eslintignore deleted file mode 100644 index e6529fc..0000000 --- a/web/.eslintignore +++ /dev/null @@ -1,4 +0,0 @@ -build/*.js -src/assets -public -dist diff --git a/web/.eslintrc.js b/web/.eslintrc.js deleted file mode 100644 index 303d049..0000000 --- a/web/.eslintrc.js +++ /dev/null @@ -1,48 +0,0 @@ -module.exports = { - root: true, - env: { - node: true, - browser: true, - }, - extends: ["plugin:vue/essential", "eslint:recommended"], - parserOptions: { - parser: "babel-eslint", - }, - rules: { - // Disable or downgrade problematic rules - "vue/require-prop-types": "off", - "vue/require-default-prop": "off", - "vue/no-unused-vars": "warn", - "no-unused-vars": "warn", - "no-undef": "warn", - eqeqeq: "warn", - "no-return-assign": "warn", - "new-cap": "warn", - "vue/html-self-closing": "off", - "vue/html-closing-bracket-spacing": "off", - "vue/this-in-template": "off", - "vue/require-v-for-key": "warn", - "vue/valid-v-model": "warn", - "vue/attributes-order": "off", - "no-multiple-empty-lines": "warn", - - // Style rules - make them warnings instead of errors - quotes: ["warn", "single"], - "comma-dangle": ["warn", "never"], - "space-in-parens": "warn", - "comma-spacing": "warn", - "object-curly-spacing": ["warn", "always"], - "arrow-spacing": "warn", - semi: ["warn", "never"], - "no-multi-spaces": "warn", - - // Turn off console warnings for development - "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", - "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", - }, - globals: { - // Define global variables to prevent 'undefined' errors - ZLMRTCClient: "readonly", - jessibuca: "readonly", - }, -} diff --git a/web/.gitignore b/web/.gitignore deleted file mode 100644 index 9ad28d2..0000000 --- a/web/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -.DS_Store -node_modules/ -dist/ -npm-debug.log* -yarn-debug.log* -yarn-error.log* -package-lock.json -tests/**/coverage/ - -# Editor directories and files -.idea -.vscode -*.suo -*.ntvs* -*.njsproj -*.sln diff --git a/web/.travis.yml b/web/.travis.yml deleted file mode 100644 index f4be7a0..0000000 --- a/web/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -node_js: 10 -script: npm run test -notifications: - email: false diff --git a/web/LICENSE b/web/LICENSE deleted file mode 100644 index 6151575..0000000 --- a/web/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2017-present PanJiaChen - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/web/README-zh.md b/web/README-zh.md deleted file mode 100644 index 1beec9b..0000000 --- a/web/README-zh.md +++ /dev/null @@ -1,111 +0,0 @@ -# vue-admin-template - -> 这是一个极简的 vue admin 管理后台。它只包含了 Element UI & axios & iconfont & permission control & lint,这些搭建后台必要的东西。 - -[线上地址](http://panjiachen.github.io/vue-admin-template) - -[国内访问](https://panjiachen.gitee.io/vue-admin-template) - -目前版本为 `v4.0+` 基于 `vue-cli` 进行构建,若你想使用旧版本,可以切换分支到[tag/3.11.0](https://github.com/PanJiaChen/vue-admin-template/tree/tag/3.11.0),它不依赖 `vue-cli`。 - -
- SPONSORED BY -
-
-
-
-
-
](http://godban.github.io/browsers-support-badges/)IE / Edge | [
](http://godban.github.io/browsers-support-badges/)Firefox | [
](http://godban.github.io/browsers-support-badges/)Chrome | [
](http://godban.github.io/browsers-support-badges/)Safari |
-| --------- | --------- | --------- | --------- |
-| IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions
-
-## License
-
-[MIT](https://github.com/PanJiaChen/vue-admin-template/blob/master/LICENSE) license.
-
-Copyright (c) 2017-present PanJiaChen
diff --git a/web/README.md b/web/README.md
deleted file mode 100644
index fa54b78..0000000
--- a/web/README.md
+++ /dev/null
@@ -1,99 +0,0 @@
-# vue-admin-template
-
-English | [简体中文](./README-zh.md)
-
-> A minimal vue admin template with Element UI & axios & iconfont & permission control & lint
-
-**Live demo:** http://panjiachen.github.io/vue-admin-template
-
-
-**The current version is `v4.0+` build on `vue-cli`. If you want to use the old version , you can switch branch to [tag/3.11.0](https://github.com/PanJiaChen/vue-admin-template/tree/tag/3.11.0), it does not rely on `vue-cli`**
-
-- SPONSORED BY -
-
-
-
-
-
](http://godban.github.io/browsers-support-badges/)IE / Edge | [
](http://godban.github.io/browsers-support-badges/)Firefox | [
](http://godban.github.io/browsers-support-badges/)Chrome | [
](http://godban.github.io/browsers-support-badges/)Safari |
-| --------- | --------- | --------- | --------- |
-| IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions
-
-## License
-
-[MIT](https://github.com/PanJiaChen/vue-admin-template/blob/master/LICENSE) license.
-
-Copyright (c) 2017-present PanJiaChen
diff --git a/web/babel.config.js b/web/babel.config.js
deleted file mode 100644
index fb82b27..0000000
--- a/web/babel.config.js
+++ /dev/null
@@ -1,14 +0,0 @@
-module.exports = {
- presets: [
- // https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
- '@vue/cli-plugin-babel/preset'
- ],
- 'env': {
- 'development': {
- // babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
- // This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
- // https://panjiachen.github.io/vue-element-admin-site/guide/advanced/lazy-loading.html
- 'plugins': ['dynamic-import-node']
- }
- }
-}
diff --git a/web/build/index.js b/web/build/index.js
deleted file mode 100644
index 293d372..0000000
--- a/web/build/index.js
+++ /dev/null
@@ -1,35 +0,0 @@
-const { run } = require('runjs')
-const chalk = require('chalk')
-const config = require('../vue.config.js')
-const rawArgv = process.argv.slice(2)
-const args = rawArgv.join(' ')
-
-if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
- const report = rawArgv.includes('--report')
-
- run(`vue-cli-service build ${args}`)
-
- const port = 9526
- const publicPath = config.publicPath
-
- var connect = require('connect')
- var serveStatic = require('serve-static')
- const app = connect()
-
- app.use(
- publicPath,
- serveStatic('./src/main/resources/static', {
- index: ['index.html', '/']
- })
- )
-
- app.listen(port, function () {
- console.log(chalk.green(`> Preview at http://localhost:${port}${publicPath}`))
- if (report) {
- console.log(chalk.green(`> Report at http://localhost:${port}${publicPath}report.html`))
- }
-
- })
-} else {
- run(`vue-cli-service build ${args}`)
-}
diff --git a/web/jest.config.js b/web/jest.config.js
deleted file mode 100644
index 143cdc8..0000000
--- a/web/jest.config.js
+++ /dev/null
@@ -1,24 +0,0 @@
-module.exports = {
- moduleFileExtensions: ['js', 'jsx', 'json', 'vue'],
- transform: {
- '^.+\\.vue$': 'vue-jest',
- '.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$':
- 'jest-transform-stub',
- '^.+\\.jsx?$': 'babel-jest'
- },
- moduleNameMapper: {
- '^@/(.*)$': '