mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
fix: components dir resolution
This commit is contained in:
@@ -89,7 +89,7 @@ export default defineNuxtModule({
|
||||
|
||||
await installModule(nuxt, { src: '@unocss/nuxt', options })
|
||||
|
||||
const componentsRoot = resolve(__dirname, '../src/components')
|
||||
const componentsRoot = resolve(__dirname, './components')
|
||||
|
||||
nuxt.hook('components:dirs', (dirs) => {
|
||||
dirs.push({
|
||||
|
||||
Reference in New Issue
Block a user