mirror of
https://github.com/HoshinoSuzumi/rayine-ui.git
synced 2025-04-06 13:48:53 +08:00
➕ chore(icon): add @nuxt/icon
support
This commit is contained in:
parent
817611c731
commit
5e0e6bd1a6
@ -78,4 +78,9 @@ export default defineNuxtConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
icon: {
|
||||
clientBundle: {
|
||||
scan: true
|
||||
}
|
||||
},
|
||||
})
|
||||
|
@ -10,6 +10,7 @@
|
||||
"postinstall": "nuxt prepare"
|
||||
},
|
||||
"dependencies": {
|
||||
"@iconify-json/vscode-icons": "^1.2.2",
|
||||
"@nuxt/content": "^2.13.4",
|
||||
"@nuxtjs/color-mode": "^3.5.2",
|
||||
"@nuxtjs/mdc": "^0.9.2",
|
||||
|
@ -31,6 +31,8 @@
|
||||
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@iconify-json/tabler": "^1.2.8",
|
||||
"@nuxt/icon": "^1.8.2",
|
||||
"@nuxt/kit": "^3.14.159",
|
||||
"@nuxtjs/tailwindcss": "^6.12.2",
|
||||
"@tailwindcss/aspect-ratio": "^0.4.2",
|
||||
|
621
pnpm-lock.yaml
generated
621
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -6,6 +6,7 @@ import {
|
||||
addPlugin,
|
||||
addComponentsDir,
|
||||
addImportsDir,
|
||||
installModule,
|
||||
} from '@nuxt/kit'
|
||||
import { name, version } from '../package.json'
|
||||
import { installTailwind } from './tailwind'
|
||||
@ -65,6 +66,7 @@ export default defineNuxtModule<ModuleOptions>({
|
||||
createTemplates(_nuxt)
|
||||
|
||||
// Modules
|
||||
await installModule('@nuxt/icon')
|
||||
installTailwind(_options, _nuxt, resolve)
|
||||
|
||||
// Plugins
|
||||
|
Loading…
Reference in New Issue
Block a user