feat: update deps and use iconify iconsets

This commit is contained in:
Anthony Fu 2021-10-02 07:28:25 +08:00
parent cdffc9853e
commit bc7d79179c
5 changed files with 505 additions and 188 deletions

View File

@ -2,8 +2,6 @@
"cSpell.words": ["Vitesse"], "cSpell.words": ["Vitesse"],
"prettier.enable": false, "prettier.enable": false,
"typescript.tsdk": "node_modules/typescript/lib", "typescript.tsdk": "node_modules/typescript/lib",
"volar.tsPlugin": true,
"volar.tsPluginStatus": false,
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.fixAll.eslint": true, "source.fixAll.eslint": true,
}, },

1
auto-imports.d.ts vendored
View File

@ -161,6 +161,7 @@ declare global {
const watch: typeof import('vue')['watch'] const watch: typeof import('vue')['watch']
const watchAtMost: typeof import('@vueuse/core')['watchAtMost'] const watchAtMost: typeof import('@vueuse/core')['watchAtMost']
const watchEffect: typeof import('vue')['watchEffect'] const watchEffect: typeof import('vue')['watchEffect']
const watchOnce: typeof import('@vueuse/core')['watchOnce']
const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter'] const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter']
const whenever: typeof import('@vueuse/core')['whenever'] const whenever: typeof import('@vueuse/core')['whenever']
} }

View File

@ -6,27 +6,27 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@vueuse/core": "^6.4.1", "@vueuse/core": "^6.5.3",
"vue": "^3.2.18", "vue": "^3.2.19",
"vue-demi": "^0.11.4", "vue-demi": "^0.11.4",
"vue-router": "^4.0.11" "vue-router": "^4.0.11"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^0.9.0", "@antfu/eslint-config": "^0.9.0",
"@iconify/json": "^1.1.406", "@iconify-json/carbon": "^1.0.3",
"@types/node": "^16.9.6", "@types/node": "^16.10.2",
"@typescript-eslint/eslint-plugin": "^4.31.2", "@typescript-eslint/eslint-plugin": "^4.32.0",
"@vitejs/plugin-vue": "^1.9.2", "@vitejs/plugin-vue": "^1.9.2",
"@vue/compiler-sfc": "^3.2.18", "@vue/compiler-sfc": "^3.2.19",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "^7.32.0", "eslint": "^7.32.0",
"pnpm": "^6.15.1", "pnpm": "^6.16.0",
"typescript": "^4.4.3", "typescript": "^4.4.3",
"unplugin-auto-import": "^0.4.8", "unplugin-auto-import": "^0.4.10",
"unplugin-icons": "^0.11.4", "unplugin-icons": "^0.12.3",
"unplugin-vue-components": "^0.15.3", "unplugin-vue-components": "^0.15.6",
"vite": "^2.5.10", "vite": "^2.6.2",
"vite-plugin-pages": "^0.18.1", "vite-plugin-pages": "^0.18.1",
"vite-plugin-windicss": "^1.4.5" "vite-plugin-windicss": "^1.4.9"
} }
} }

662
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -43,7 +43,9 @@ export default defineConfig({
}), }),
// https://github.com/antfu/vite-plugin-icons // https://github.com/antfu/vite-plugin-icons
Icons(), Icons({
autoInstall: true,
}),
// https://github.com/antfu/vite-plugin-windicss // https://github.com/antfu/vite-plugin-windicss
WindiCSS(), WindiCSS(),