feat: switch to sidebase/nuxt !

This commit is contained in:
valere
2023-03-09 19:40:02 +01:00
parent 63b895633b
commit bab74dd088
86 changed files with 18165 additions and 5562 deletions

22
nuxt.config.ts Normal file
View 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
}
})