feat: switch to sidebase/nuxt !
This commit is contained in:
22
nuxt.config.ts
Normal file
22
nuxt.config.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
export default defineNuxtConfig({
|
||||
runtimeConfig: {
|
||||
version: '0.0.1'
|
||||
},
|
||||
modules: ['@nuxtjs/tailwindcss', 'nuxt-svgo', '@huntersofbook/naive-ui-nuxt',
|
||||
[
|
||||
'@pinia/nuxt',
|
||||
{
|
||||
autoImports: [
|
||||
// automatically imports `defineStore`
|
||||
'defineStore', // import { defineStore } from 'pinia'
|
||||
// automatically imports `defineStore` as `definePiniaStore`
|
||||
['defineStore', 'definePiniaStore'] // import { defineStore as definePiniaStore } from 'pinia'
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
extends: ['@sidebase/core'],
|
||||
typescript: {
|
||||
shim: false
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user