mirror of
https://github.com/Xevion/the-office.git
synced 2026-01-31 08:26:13 -06:00
feat!: switch to Nuxt, complete overhaul
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2025-07-15',
|
||||
devtools: { enabled: true },
|
||||
css: ['~/assets/tailwind.css', '@fontsource-variable/roboto-slab', '@fontsource/open-sans'],
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
},
|
||||
modules: [
|
||||
'@nuxt/test-utils',
|
||||
'@nuxt/ui',
|
||||
'@nuxt/eslint',
|
||||
'@nuxt/image',
|
||||
'shadcn-nuxt',
|
||||
'@pinia/nuxt'
|
||||
],
|
||||
shadcn: {
|
||||
prefix: '',
|
||||
componentDir: './app/components/ui',
|
||||
},
|
||||
typescript: {
|
||||
typeCheck: true,
|
||||
tsConfig: {
|
||||
compilerOptions: {
|
||||
allowSyntheticDefaultImports: true,
|
||||
allowArbitraryExtensions: true,
|
||||
baseUrl: '.',
|
||||
paths: {
|
||||
'@/*': ['./src/*'],
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user