feat: add icons
This commit is contained in:
parent
24d9a7d686
commit
947aac4ed7
@ -10,13 +10,17 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/node": "^20.8.0",
|
"@types/node": "^20.8.0",
|
||||||
|
"@unocss/reset": "^0.56.4",
|
||||||
"nprogress": "^0.2.0",
|
"nprogress": "^0.2.0",
|
||||||
"sass": "^1.68.0",
|
"sass": "^1.68.0",
|
||||||
"vue": "^3.3.4",
|
"vue": "^3.3.4",
|
||||||
"vue-router": "^4.2.5"
|
"vue-router": "^4.2.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@iconify-json/mdi": "^1.1.54",
|
||||||
"@types/nprogress": "^0.2.1",
|
"@types/nprogress": "^0.2.1",
|
||||||
|
"@unocss/preset-icons": "^0.56.4",
|
||||||
|
"@unocss/transformer-directives": "^0.56.4",
|
||||||
"@vitejs/plugin-vue": "^4.3.4",
|
"@vitejs/plugin-vue": "^4.3.4",
|
||||||
"typescript": "^5.2.2",
|
"typescript": "^5.2.2",
|
||||||
"unocss": "^0.56.4",
|
"unocss": "^0.56.4",
|
||||||
|
@ -8,6 +8,9 @@ dependencies:
|
|||||||
'@types/node':
|
'@types/node':
|
||||||
specifier: ^20.8.0
|
specifier: ^20.8.0
|
||||||
version: 20.8.0
|
version: 20.8.0
|
||||||
|
'@unocss/reset':
|
||||||
|
specifier: ^0.56.4
|
||||||
|
version: 0.56.4
|
||||||
nprogress:
|
nprogress:
|
||||||
specifier: ^0.2.0
|
specifier: ^0.2.0
|
||||||
version: 0.2.0
|
version: 0.2.0
|
||||||
@ -22,9 +25,18 @@ dependencies:
|
|||||||
version: 4.2.5(vue@3.3.4)
|
version: 4.2.5(vue@3.3.4)
|
||||||
|
|
||||||
devDependencies:
|
devDependencies:
|
||||||
|
'@iconify-json/mdi':
|
||||||
|
specifier: ^1.1.54
|
||||||
|
version: 1.1.54
|
||||||
'@types/nprogress':
|
'@types/nprogress':
|
||||||
specifier: ^0.2.1
|
specifier: ^0.2.1
|
||||||
version: 0.2.1
|
version: 0.2.1
|
||||||
|
'@unocss/preset-icons':
|
||||||
|
specifier: ^0.56.4
|
||||||
|
version: 0.56.4
|
||||||
|
'@unocss/transformer-directives':
|
||||||
|
specifier: ^0.56.4
|
||||||
|
version: 0.56.4
|
||||||
'@vitejs/plugin-vue':
|
'@vitejs/plugin-vue':
|
||||||
specifier: ^4.3.4
|
specifier: ^4.3.4
|
||||||
version: 4.3.4(vite@4.4.9)(vue@3.3.4)
|
version: 4.3.4(vite@4.4.9)(vue@3.3.4)
|
||||||
@ -292,6 +304,12 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
/@iconify-json/mdi@1.1.54:
|
||||||
|
resolution: {integrity: sha512-3QAsxte90EalbN2e8J30OqSSZz9qN2x+kmykQwsPahoW2dOtSvj+BR9YdiUd9A5XKk2nuU4UH5Gj/cq6WZ6CzQ==}
|
||||||
|
dependencies:
|
||||||
|
'@iconify/types': 2.0.0
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@iconify/types@2.0.0:
|
/@iconify/types@2.0.0:
|
||||||
resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
|
resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
|
||||||
dev: true
|
dev: true
|
||||||
@ -558,7 +576,6 @@ packages:
|
|||||||
|
|
||||||
/@unocss/reset@0.56.4:
|
/@unocss/reset@0.56.4:
|
||||||
resolution: {integrity: sha512-7o3Jpog49ORWW+Rpz7bzYY+CStfLMyBXAeDOzhM2PQjftuQl4ZQOvIdXi6zrXDEN2SJQsi279s2t50ERZN8YcA==}
|
resolution: {integrity: sha512-7o3Jpog49ORWW+Rpz7bzYY+CStfLMyBXAeDOzhM2PQjftuQl4ZQOvIdXi6zrXDEN2SJQsi279s2t50ERZN8YcA==}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/@unocss/rule-utils@0.56.4:
|
/@unocss/rule-utils@0.56.4:
|
||||||
resolution: {integrity: sha512-pZmTPqi/Tb+vbwjNXu9+PwxEh7PVe+FwP+pzUbfNSUpE5Hg9CCbl8hpsXRE/r8kdaoKhmw2ryxvjocOgKXG/ag==}
|
resolution: {integrity: sha512-pZmTPqi/Tb+vbwjNXu9+PwxEh7PVe+FwP+pzUbfNSUpE5Hg9CCbl8hpsXRE/r8kdaoKhmw2ryxvjocOgKXG/ag==}
|
||||||
|
@ -3,7 +3,7 @@ import {
|
|||||||
presetAttributify,
|
presetAttributify,
|
||||||
presetTypography,
|
presetTypography,
|
||||||
presetUno,
|
presetUno,
|
||||||
presetWebFonts,
|
presetIcons,
|
||||||
transformerDirectives,
|
transformerDirectives,
|
||||||
transformerVariantGroup,
|
transformerVariantGroup,
|
||||||
} from "unocss"
|
} from "unocss"
|
||||||
@ -13,19 +13,7 @@ export default defineConfig({
|
|||||||
presetUno(),
|
presetUno(),
|
||||||
presetAttributify(),
|
presetAttributify(),
|
||||||
presetTypography(),
|
presetTypography(),
|
||||||
// presetWebFonts({
|
presetIcons(),
|
||||||
// fonts: {
|
|
||||||
// sans: "DM Sans",
|
|
||||||
// serif: "DM Serif Display",
|
|
||||||
// mono: "DM Mono",
|
|
||||||
// },
|
|
||||||
// }),
|
|
||||||
// presetWebFonts({
|
|
||||||
// fonts: {
|
|
||||||
// sans: "Inter:100,200,400,700,800",
|
|
||||||
// mono: "IBM Plex Mono",
|
|
||||||
// },
|
|
||||||
// }),
|
|
||||||
],
|
],
|
||||||
transformers: [transformerDirectives(), transformerVariantGroup()],
|
transformers: [transformerDirectives(), transformerVariantGroup()],
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user