chore: updates
This commit is contained in:
parent
e4c56de6a8
commit
586d28134d
3
.eslintignore
Normal file
3
.eslintignore
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
dist
|
||||||
|
node_modules
|
||||||
|
public
|
7
.eslintrc
Normal file
7
.eslintrc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"extends": "@antfu",
|
||||||
|
"rules": {
|
||||||
|
"no-unused-vars": "off",
|
||||||
|
"@typescript-eslint/no-unused-vars": "off"
|
||||||
|
}
|
||||||
|
}
|
3
.vscode/extensions.json
vendored
3
.vscode/extensions.json
vendored
@ -3,6 +3,7 @@
|
|||||||
"johnsoncodehk.volar",
|
"johnsoncodehk.volar",
|
||||||
"lokalise.i18n-ally",
|
"lokalise.i18n-ally",
|
||||||
"antfu.iconify",
|
"antfu.iconify",
|
||||||
"dbaeumer.vscode-eslint"
|
"dbaeumer.vscode-eslint",
|
||||||
|
"voorjaar.windicss-intellisense"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
11
README.md
11
README.md
@ -75,7 +75,7 @@ Mocking up web app with <b>Vitesse</b><sup><em>(speed)</em></sup><br>
|
|||||||
|
|
||||||
### Coding Style
|
### Coding Style
|
||||||
|
|
||||||
- Use Composition API with [`<script setup>` SFC](https://github.com/vuejs/rfcs/pull/227)
|
- Use Composition API with [`<script setup>` SFC syntax](https://github.com/vuejs/rfcs/pull/227)
|
||||||
- [ESLint](https://eslint.org/) with [@antfu/eslint-config](https://github.com/antfu/eslint-config), single quotes, no semi.
|
- [ESLint](https://eslint.org/) with [@antfu/eslint-config](https://github.com/antfu/eslint-config), single quotes, no semi.
|
||||||
|
|
||||||
### Dev tools
|
### Dev tools
|
||||||
@ -83,11 +83,12 @@ Mocking up web app with <b>Vitesse</b><sup><em>(speed)</em></sup><br>
|
|||||||
- [TypeScript](https://www.typescriptlang.org/)
|
- [TypeScript](https://www.typescriptlang.org/)
|
||||||
- [pnpm](https://pnpm.js.org/) - fast, disk space efficient package manager
|
- [pnpm](https://pnpm.js.org/) - fast, disk space efficient package manager
|
||||||
- [`vite-ssg`](https://github.com/antfu/vite-ssg) - Server-side generation
|
- [`vite-ssg`](https://github.com/antfu/vite-ssg) - Server-side generation
|
||||||
- [Netlify](https://www.netlify.com/) - deploy
|
- [Netlify](https://www.netlify.com/) - zero-config deployment
|
||||||
- [VS Code Extensions](./.vscode/extensions.json)
|
- [VS Code Extensions](./.vscode/extensions.json)
|
||||||
- [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)
|
- [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) - Vue 3 `<script setup>` IDE support
|
||||||
- [Iconify IntelliSense](https://marketplace.visualstudio.com/items?itemName=antfu.iconify)
|
- [Iconify IntelliSense](https://marketplace.visualstudio.com/items?itemName=antfu.iconify) - Icon inline display and autocomplete
|
||||||
- [i18n Ally](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally)
|
- [i18n Ally](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally) - All in one i18n support
|
||||||
|
- [Windi CSS Intellisense](https://marketplace.visualstudio.com/items?itemName=voorjaar.windicss-intellisense) - IDE support for Windi CSS
|
||||||
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
|
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
|
||||||
|
|
||||||
## Variations
|
## Variations
|
||||||
|
19
package.json
19
package.json
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --port 3333 --open",
|
"build": "cross-env NODE_ENV=production vite-ssg build",
|
||||||
"build": "cross-env NODE_ENV=production vite-ssg build"
|
"dev": "vite --port 3333 --open"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vueuse/core": "^4.2.2",
|
"@vueuse/core": "^4.2.2",
|
||||||
@ -10,7 +10,7 @@
|
|||||||
"nprogress": "^0.2.0",
|
"nprogress": "^0.2.0",
|
||||||
"prism-theme-vars": "^0.1.4",
|
"prism-theme-vars": "^0.1.4",
|
||||||
"vue": "^3.0.6",
|
"vue": "^3.0.6",
|
||||||
"vue-i18n": "^9.0.0-rc.9",
|
"vue-i18n": "^9.0.0",
|
||||||
"vue-router": "^4.0.4"
|
"vue-router": "^4.0.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@ -19,7 +19,7 @@
|
|||||||
"@intlify/vite-plugin-vue-i18n": "^1.0.0-beta.17",
|
"@intlify/vite-plugin-vue-i18n": "^1.0.0-beta.17",
|
||||||
"@types/nprogress": "^0.2.0",
|
"@types/nprogress": "^0.2.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.15.2",
|
"@typescript-eslint/eslint-plugin": "^4.15.2",
|
||||||
"@vitejs/plugin-vue": "^1.1.4",
|
"@vitejs/plugin-vue": "^1.1.5",
|
||||||
"@vue/compiler-sfc": "^3.0.6",
|
"@vue/compiler-sfc": "^3.0.6",
|
||||||
"@vue/server-renderer": "^3.0.6",
|
"@vue/server-renderer": "^3.0.6",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
@ -27,8 +27,8 @@
|
|||||||
"markdown-it-prism": "^2.1.4",
|
"markdown-it-prism": "^2.1.4",
|
||||||
"pnpm": "^5.18.1",
|
"pnpm": "^5.18.1",
|
||||||
"typescript": "^4.2.2",
|
"typescript": "^4.2.2",
|
||||||
"vite": "^2.0.3",
|
"vite": "^2.0.4",
|
||||||
"vite-plugin-components": "^0.7.3",
|
"vite-plugin-components": "^0.7.4",
|
||||||
"vite-plugin-icons": "^0.3.1",
|
"vite-plugin-icons": "^0.3.1",
|
||||||
"vite-plugin-md": "^0.6.0",
|
"vite-plugin-md": "^0.6.0",
|
||||||
"vite-plugin-pages": "^0.4.5",
|
"vite-plugin-pages": "^0.4.5",
|
||||||
@ -36,12 +36,5 @@
|
|||||||
"vite-plugin-vue-layouts": "^0.2.2",
|
"vite-plugin-vue-layouts": "^0.2.2",
|
||||||
"vite-plugin-windicss": "^0.5.4",
|
"vite-plugin-windicss": "^0.5.4",
|
||||||
"vite-ssg": "^0.8.11"
|
"vite-ssg": "^0.8.11"
|
||||||
},
|
|
||||||
"eslintConfig": {
|
|
||||||
"extends": "@antfu/eslint-config",
|
|
||||||
"rules": {
|
|
||||||
"no-unused-vars": "off",
|
|
||||||
"@typescript-eslint/no-unused-vars": "off"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1065
pnpm-lock.yaml
generated
1065
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user