mirror of
https://github.com/lstoeferle/vite-vue2-starter
synced 2025-05-11 02:58:03 +08:00
chore: update dependencies and switch to yarn
This commit is contained in:
parent
c04cb98c73
commit
9b60e65e90
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npm run lint
|
||||
yarn lint
|
||||
|
14
README.md
14
README.md
@ -1,10 +1,10 @@
|
||||
<h1 align="center">Vite ⚡ - Vue 2 starter template</h1>
|
||||
<h1 style="text-align: center">Vite ⚡ - Vue 2 starter template</h1>
|
||||
|
||||
<p align="center">
|
||||
<p style="text-align: center">
|
||||
Create a Vue 2 application bundled by the lightning fast build tool <a href="https://github.com/vitejs/vite">Vite</a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<p style="text-align: center">
|
||||
<a href="https://vite-vue2-starter.netlify.app"> ✨ Live Demo</a>
|
||||
</p>
|
||||
|
||||
@ -51,7 +51,7 @@ If you prefer to do it manually with a cleaner git history
|
||||
```bash
|
||||
npx degit lstoeferle/vite-vue2-windicss-starter my-vite-vue2-app
|
||||
cd my-vite-vue2-app
|
||||
npm i
|
||||
yarn install
|
||||
```
|
||||
|
||||
# Usage
|
||||
@ -61,7 +61,7 @@ npm i
|
||||
Just run and visit [http://localhost:8080](http://localhost:8080)
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
yarn dev
|
||||
```
|
||||
|
||||
## Build
|
||||
@ -69,11 +69,11 @@ npm run dev
|
||||
To build the App, run
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
yarn build
|
||||
```
|
||||
|
||||
And you will see the generated files in `dist`, which are ready to be served.
|
||||
|
||||
# Why
|
||||
|
||||
Vue 3 is awesome, but we should not forget about supporting Vue 2 ♥️
|
||||
Vue 3 is awesome, but we should not forget about supporting Vue 2 ♥️
|
||||
|
8068
package-lock.json
generated
8068
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
43
package.json
43
package.json
@ -8,29 +8,30 @@
|
||||
"lint:fix": "eslint './src/**/*.{js,ts,tsx,vue,md}' --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vue/composition-api": "^1.0.0-rc.8",
|
||||
"@vueuse/core": "^4.9.1",
|
||||
"core-js": "^3.11.1",
|
||||
"vue": "^2.6.12",
|
||||
"vue-demi": "^0.7.5",
|
||||
"vue-router": "^3.5.1"
|
||||
"@vue/composition-api": "^1.2.4",
|
||||
"@vueuse/core": "^6.5.3",
|
||||
"core-js": "^3.18.3",
|
||||
"vue": "^2.6.14",
|
||||
"vue-demi": "^0.11.4",
|
||||
"vue-router": "^3.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@iconify/json": "^1.1.337",
|
||||
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
||||
"@typescript-eslint/parser": "^4.22.0",
|
||||
"@iconify/json": "^1.1.415",
|
||||
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
||||
"@typescript-eslint/parser": "^5.0.0",
|
||||
"@vue/eslint-config-prettier": "^6.0.0",
|
||||
"@vue/eslint-config-typescript": "^7.0.0",
|
||||
"eslint": "^7.25.0",
|
||||
"eslint-plugin-prettier": "^3.4.0",
|
||||
"eslint-plugin-vue": "^7.9.0",
|
||||
"husky": "^6.0.0",
|
||||
"prettier": "^2.2.1",
|
||||
"typescript": "^4.2.4",
|
||||
"unplugin-icons": "^0.7.6",
|
||||
"unplugin-vue-components": "^0.15.0",
|
||||
"vite": "^2.2.3",
|
||||
"vite-plugin-vue2": "^1.4.4",
|
||||
"vite-plugin-windicss": "^0.15.10"
|
||||
"@vue/eslint-config-typescript": "^8.0.0",
|
||||
"eslint": "^8.0.1",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-vue": "^7.19.1",
|
||||
"husky": "^7.0.2",
|
||||
"prettier": "^2.4.1",
|
||||
"typescript": "^4.4.4",
|
||||
"unplugin-icons": "^0.12.16",
|
||||
"unplugin-vue-components": "^0.15.6",
|
||||
"vite": "^2.6.7",
|
||||
"vite-plugin-vue2": "^1.9.0",
|
||||
"vite-plugin-windicss": "^1.4.11",
|
||||
"vue-template-compiler": "^2.6.14"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user