fix(docs): dedupe and add alias for vue

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-06 08:54:35 +01:00
parent ae0772b6d4
commit 3931a59524
41 changed files with 827 additions and 781 deletions
+10
View File
@@ -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'],
})