feat(global): initialize project and framework structure, dockerize
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import Aura from '@primeuix/themes/aura';
|
||||
import { defineNuxtConfig } from 'nuxt/config';
|
||||
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2025-07-15',
|
||||
|
||||
devtools: { enabled: true },
|
||||
|
||||
css: ['~/assets/scss/main.scss', '~/assets/css/tailwind.css'],
|
||||
|
||||
modules: [
|
||||
'@nuxt/fonts',
|
||||
'@nuxt/icon',
|
||||
'@nuxt/image',
|
||||
'@nuxt/scripts',
|
||||
@@ -14,6 +16,8 @@ export default defineNuxtConfig({
|
||||
'@primevue/nuxt-module',
|
||||
'@nuxtjs/i18n',
|
||||
'@prisma/nuxt',
|
||||
'@nuxt/test-utils/module',
|
||||
'@nuxtjs/google-fonts',
|
||||
],
|
||||
|
||||
primevue: {
|
||||
@@ -21,12 +25,41 @@ export default defineNuxtConfig({
|
||||
options: {
|
||||
theme: {
|
||||
preset: Aura,
|
||||
cssLayer: false,
|
||||
},
|
||||
ripple: true,
|
||||
},
|
||||
},
|
||||
|
||||
fonts: {
|
||||
families: [{ name: 'Inter', provider: 'google' }],
|
||||
components: {
|
||||
dirs: ['~/components'],
|
||||
},
|
||||
|
||||
app: {
|
||||
head: {
|
||||
htmlAttrs: {
|
||||
lang: 'en',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
googleFonts: { families: { Inter: true } },
|
||||
|
||||
vite: {
|
||||
resolve: {
|
||||
alias: {
|
||||
'.prisma/client/index-browser':
|
||||
'./node_modules/.prisma/client/index-browser.js',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
i18n: {
|
||||
defaultLocale: 'en',
|
||||
locales: [{ code: 'en', name: 'English', file: 'en.json' }],
|
||||
},
|
||||
|
||||
nitro: {
|
||||
preset: 'bun',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user