diff --git a/web/nuxt.config.ts b/web/nuxt.config.ts index 7d3800b..276a431 100755 --- a/web/nuxt.config.ts +++ b/web/nuxt.config.ts @@ -1,22 +1,23 @@ // https://nuxt.com/docs/api/configuration/nuxt-config import AutoImport from 'unplugin-auto-import/vite' import Components from 'unplugin-vue-components/vite' -import { NaiveUiResolver } from 'unplugin-vue-components/resolvers' +import {NaiveUiResolver} from 'unplugin-vue-components/resolvers' export default defineNuxtConfig({ - devtools: {enabled: true}, - ssr: false, - modules: [ - '@nuxtjs/color-mode', - '@hypernym/nuxt-gsap', - "@nuxtjs/google-fonts", - 'nuxt-lucide-icons', - '@pinia/nuxt', - '@pinia-plugin-persistedstate/nuxt', - "@vueuse/nuxt", - "nuxtjs-naive-ui" - ], + devtools: {enabled: true}, + builder: "webpack", + ssr: false, + modules: [ + '@nuxtjs/color-mode', + '@hypernym/nuxt-gsap', + "@nuxtjs/google-fonts", + 'nuxt-lucide-icons', + '@pinia/nuxt', + '@pinia-plugin-persistedstate/nuxt', + "@vueuse/nuxt", + "nuxtjs-naive-ui" + ], vite: { plugins: [ AutoImport({ @@ -36,65 +37,65 @@ export default defineNuxtConfig({ }) ] }, - // pwa: { - // manifest: { - // name: "pwa nuxt 3", - // short_name: "pwa nuxt", - // theme_color: '#FFFFFF', - // description: "Arman Abi r.man.abi@gmail.com", - // icons: [{ - // src: '/pwa-192x192.png', sizes: "192x192", type: "image/png" - // },] - // - // - // }, workbox: { - // navigateFallback: "/SignIn", - // - // }, devOptions: { - // enabled: true, type: "module" - // } - // - // }, + // pwa: { + // manifest: { + // name: "pwa nuxt 3", + // short_name: "pwa nuxt", + // theme_color: '#FFFFFF', + // description: "Arman Abi r.man.abi@gmail.com", + // icons: [{ + // src: '/pwa-192x192.png', sizes: "192x192", type: "image/png" + // },] + // + // + // }, workbox: { + // navigateFallback: "/SignIn", + // + // }, devOptions: { + // enabled: true, type: "module" + // } + // + // }, - gsap: { - autoImport: true, - extraPlugins: { - text: true - } - }, + gsap: { + autoImport: true, + extraPlugins: { + text: true + } + }, - css: ['assets/min.scss', 'vue-toastification/dist/index.css'], + css: ['assets/min.scss', 'vue-toastification/dist/index.css'], - devServer: { - port: 3001, host: '0.0.0.0', - // https: { - // key: "./localhost+3-key.pem", - // cert: "./localhost+3.pem", - // } - }, + devServer: { + port: 3001, host: '0.0.0.0', + // https: { + // key: "./localhost+3-key.pem", + // cert: "./localhost+3.pem", + // } + }, - plugins: [ - {src: '~/plugins/vue-toast.ts'}, - {src: '~/plugins/apexcharts.ts'}, - ], + plugins: [ + {src: '~/plugins/vue-toast.ts'}, + {src: '~/plugins/apexcharts.ts'}, + ], - runtimeConfig: { - baseUrl: '', public: { - apiBase: '/Api', baseUrl: process.env.NUXT_API_URL - } - }, + runtimeConfig: { + baseUrl: '', public: { + apiBase: '/Api', baseUrl: process.env.NUXT_API_URL + } + }, - googleFonts: { - families: { - Roboto: true, 'Josefin+Sans': true, Lato: [100, 300], Raleway: { - wght: [100, 400], ital: [100] - }, Inter: '200..700', 'Crimson Pro': { - wght: '200..900', ital: '200..700', - }, 'Noto Sans SC': { - wght: '200..900', ital: '200..700' - } - } - }, + googleFonts: { + families: { + Roboto: true, 'Josefin+Sans': true, Lato: [100, 300], Raleway: { + wght: [100, 400], ital: [100] + }, Inter: '200..700', 'Crimson Pro': { + wght: '200..900', ital: '200..700', + }, 'Noto Sans SC': { + wght: '200..900', ital: '200..700' + } + } + }, - compatibilityDate: '2024-07-21', + compatibilityDate: '2024-07-21', }) \ No newline at end of file