@@ -41,12 +41,15 @@ export default defineNuxtConfig({
41
41
preprocessorOptions : {
42
42
scss : {
43
43
// make SCSS variables, functions and mixins globally accessible
44
- additionalData : '@import "@/assets/scss/settings.scss";'
44
+ additionalData : '@use "sass:math"; @ import "@/assets/scss/settings.scss";'
45
45
}
46
46
}
47
47
} ,
48
48
assetsInclude : [ '**/*.md' ]
49
49
} ,
50
+ build : {
51
+ transpile : [ '@vuepic/vue-datepicker' ]
52
+ } ,
50
53
// //////////////////////////////////////////////// Custom Sass Theme Override
51
54
// ---------------------------------------------------------------------------
52
55
overrideTheming : {
@@ -89,7 +92,10 @@ export default defineNuxtConfig({
89
92
// ////////////////////////////////////////////////////////////// Auto-imports
90
93
// ---------------------------------------------------------------------------
91
94
imports : {
92
- dirs : [ 'stores' ]
95
+ presets : [ {
96
+ from : 'pinia' ,
97
+ imports : [ ]
98
+ } ]
93
99
} ,
94
100
// ///////////////////////////////////////////////////////////// Global Styles
95
101
// ---------------------------------------------------------------------------
@@ -103,9 +109,8 @@ export default defineNuxtConfig({
103
109
'@/modules/eslint-nuxt3-globals' ,
104
110
'@nuxtjs/eslint-module' ,
105
111
'@nuxtjs/algolia' ,
106
- '@/modules/zero' , // required
112
+ // '@/modules/zero', // required
107
113
'@nuxt/content' ,
108
- // '@/modules/zero-components/index.js',
109
114
'@nuxtjs/plausible' , // https://github.com/nuxt-modules/plausible
110
115
'nuxt-simple-robots' , // https://github.com/harlan-zw/nuxt-simple-robots
111
116
'nuxt-simple-sitemap' // https://github.com/harlan-zw/nuxt-simple-sitemap
@@ -121,13 +126,6 @@ export default defineNuxtConfig({
121
126
{ path : Path . resolve ( __dirname , 'content' ) , contentDirectoryName : 'content' }
122
127
]
123
128
} ,
124
- // ////////////////////////////////////////////////////// [Module] @pinia /nuxt
125
- // ---------------------------------------------------------------------------
126
- pinia : {
127
- autoImports : [
128
- 'defineStore' // import { defineStore } from 'pinia'
129
- ]
130
- } ,
131
129
// ////////////////////////////////////////////////// [Module] @nuxt /plausible
132
130
// ---------------------------------------------------------------------------
133
131
plausible : {
0 commit comments