feat: 使用vite
Showing
.browserslistrc
deleted
100644 → 0
.eslintrc.js
deleted
100644 → 0
.postcssrc.js
deleted
100644 → 0
.vscode/extensions.json
0 → 100644
babel.config.js
deleted
100644 → 0
index.html
0 → 100644
jsconfig.json
deleted
100644 → 0
{ | { | ||
"name": "komatsu-lease-app", | "name": "vuen", | ||
"version": "0.1.0", | "version": "0.0.0", | ||
"private": true, | |||
"scripts": { | "scripts": { | ||
"serve": "cross-env VUE_APP_ENV=local VUE_APP_TARGET=schedule vue-cli-service serve", | "dev": "VITE_TARGET=ALL vite ", | ||
"dev": "cross-env VUE_APP_ENV=local vue-cli-service serve", | "build": "vite build" | ||
"build": "vue-cli-service build", | |||
"lint": "vue-cli-service lint", | |||
"build:customer_manage:dev": "cross-env VUE_APP_ENV=development VUE_APP_TARGET=customer_manage vue-cli-service build --mode development --dest dist/dev/customer_manage", | |||
"build:customer_manage:test": "cross-env VUE_APP_ENV=testing VUE_APP_TARGET=customer_manage vue-cli-service build --mode testing --dest dist/test/customer_manage" | |||
}, | }, | ||
"browserSlist": [ | |||
"> 1%", | |||
"last 2 versions" | |||
], | |||
"dependencies": { | "dependencies": { | ||
"@hips/plugin-vue-jssdk": "^1.1.2", | "@hips/plugin-vue-jssdk": "^1.1.2", | ||
"@vueuse/core": "^8.5.0", | "axios": "^1.2.0", | ||
"axios": "^0.27.2", | "moment": "^2.29.4", | ||
"babel-plugin-import": "^1.13.5", | "pinia": "^2.0.23", | ||
"babel-polyfill": "^6.26.0", | "postcss-px-to-viewport": "^1.1.1", | ||
"core-js": "^3.8.3", | "qs": "^6.11.0", | ||
"es6-promise": "^4.2.8", | "uuid": "^9.0.0", | ||
"moment": "^2.29.3", | "vant": "^3.6.6", | ||
"postcss": "^8.2.15", | "vconsole": "^3.15.0", | ||
"uuid": "^8.3.2", | "vue": "^3.2.41", | ||
"vant": "^3.5.0", | "vue-router": "^4.1.5" | ||
"vconsole": "^3.14.6", | |||
"vue": "^3.2.13", | |||
"vue-router": "^4.0.3", | |||
"vuex": "^4.0.0" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@babel/core": "^7.12.16", | "@vitejs/plugin-legacy": "^2.3.1", | ||
"@babel/eslint-parser": "^7.12.16", | "@vitejs/plugin-vue": "^3.2.0", | ||
"@babel/polyfill": "^7.12.1", | "less": "^4.1.3", | ||
"@babel/preset-env": "^7.18.6", | "terser": "^5.16.0", | ||
"@vue/cli-plugin-babel": "~5.0.0", | "vite": "^3.1.8", | ||
"@vue/cli-plugin-eslint": "~5.0.0", | "vite-plugin-pages": "^0.27.1", | ||
"@vue/cli-plugin-router": "~5.0.0", | "vite-plugin-style-import": "1.4.1" | ||
"@vue/cli-plugin-vuex": "~5.0.0", | |||
"@vue/cli-service": "~5.0.0", | |||
"cross-env": "^5.2.0", | |||
"cssnano": "^5.1.7", | |||
"eslint": "^7.32.0", | |||
"eslint-plugin-vue": "^8.0.3", | |||
"postcss-aspect-ratio-mini": "^1.1.0", | |||
"postcss-import": "^14.1.0", | |||
"postcss-px-to-viewport": "^1.1.1", | |||
"postcss-url": "^10.1.3", | |||
"stylus": "^0.55.0", | |||
"stylus-loader": "^3.0.2" | |||
} | } | ||
} | } |
public/index.html
deleted
100644 → 0
src/assets/logo.png
deleted
100644 → 0
6.69 KB
src/assets/logo.svg
0 → 100644
src/modules/index.js
deleted
100644 → 0
12.1 KB
5.37 KB
src/store/index.js
deleted
100644 → 0
src/stores/counter.js
0 → 100644
src/style/init.less
0 → 100644
src/style/init.styl
deleted
100644 → 0
src/style/theme.styl
deleted
100644 → 0
src/style/var.less
0 → 100644
src/style/var.styl
deleted
100644 → 0
vite.config.js
0 → 100644
vue.config.js
deleted
100644 → 0
This source diff could not be displayed because it is too large. You can view the blob instead.