fix(docs): dedupe and add alias for vue
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { resolve } from 'path'
|
||||
import { defineNuxtConfig } from 'nuxt3'
|
||||
|
||||
export default defineNuxtConfig({
|
||||
@@ -8,5 +9,14 @@ export default defineNuxtConfig({
|
||||
router: {
|
||||
base: '/',
|
||||
},
|
||||
vite: {
|
||||
alias: {
|
||||
vue: resolve('./node_modules/vue'),
|
||||
},
|
||||
resolve: {
|
||||
dedupe: ['vue'],
|
||||
preserveSymlinks: false,
|
||||
},
|
||||
},
|
||||
buildModules: ['nuxt-windicss'],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user