1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- export default defineNuxtConfig({
- modules: [
- '@nuxtjs/tailwindcss',
- '@nuxtjs/color-mode',
- '@nuxtjs/google-fonts',
- '@nuxt/image',
- '@nuxt/eslint',
- '@pinia/nuxt',
- '@formkit/auto-animate/nuxt',
- 'nuxt-booster',
- 'nuxt-svgo',
- ],
- ssr: false,
- devtools: { enabled: true },
- css: ['animate.css', '~/public/css/config.css'],
- vue: {
- compilerOptions: {
- isCustomElement: (tag: string) => ['lottie-player'].includes(tag),
- },
- },
- runtimeConfig: {
- public: {
- API_URL: process.env.API_URL || 'http://localhost:8000',
- ACCOUNT_LOGIN: process.env.ACCOUNT_LOGIN,
- ACCOUNT_PASSWD: process.env.ACCOUNT_PASSWD,
- },
- },
- compatibilityDate: '2024-04-03',
- fontMetrics: {
- fonts: ['Montserrat'],
- },
- googleFonts: {
- download: true,
- families: {
- Montserrat: '100..900',
- },
- },
- svgo: {
- autoImportPath: '~/assets/icons',
- componentPrefix: 'i',
- defaultImport: 'component',
- },
- tailwindcss: {
- config: {
- theme: {
- extend: {
- colors: {
- primary: '#FF4646',
- foreground: '#EDE8D8',
- background: {
- 100: '#212121',
- 200: '#323232',
- },
- },
- },
- },
- },
- },
- })
|