Skip to content

Commit

Permalink
fix: components dir resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Nov 18, 2021
1 parent 6d99886 commit 500b4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 500b4d6

Please sign in to comment.