82 lines
1.9 KiB
TypeScript
82 lines
1.9 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: "2024-11-01",
|
|
ssr: true,
|
|
devtools: { enabled: true },
|
|
css: [
|
|
"~/assets/css/tailwind.css",
|
|
"swiper/css",
|
|
"animate.css/animate.min.css",
|
|
],
|
|
|
|
routeRules: {
|
|
"/products": { prerender: false, ssr: false },
|
|
},
|
|
|
|
app: {
|
|
pageTransition: {
|
|
enterActiveClass:
|
|
"animate__animated animate__fadeIn animate__faster",
|
|
leaveActiveClass:
|
|
"animate__animated animate__fadeOut animate__faster",
|
|
mode: "out-in",
|
|
},
|
|
layoutTransition: {
|
|
enterActiveClass:
|
|
"animate__animated animate__fadeIn animate__faster",
|
|
leaveActiveClass:
|
|
"animate__animated animate__fadeOut animate__faster",
|
|
mode: "out-in",
|
|
},
|
|
},
|
|
|
|
postcss: {
|
|
plugins: {
|
|
"@tailwindcss/postcss": {},
|
|
autoprefixer: {},
|
|
},
|
|
},
|
|
|
|
components: [
|
|
{
|
|
path: "~/components",
|
|
pathPrefix: false,
|
|
},
|
|
],
|
|
|
|
icon: {
|
|
mode: "svg",
|
|
customCollections: [
|
|
{
|
|
prefix: "ci",
|
|
dir: "./public/icons",
|
|
},
|
|
],
|
|
},
|
|
|
|
modules: [
|
|
[
|
|
"@nuxtjs/google-fonts",
|
|
{
|
|
families: {
|
|
"DM Sans": "100..900",
|
|
Inter: "100..900",
|
|
download: true,
|
|
inject: false,
|
|
},
|
|
},
|
|
],
|
|
"@nuxt/icon",
|
|
"reka-ui/nuxt",
|
|
"@vueuse/nuxt",
|
|
"@formkit/auto-animate/nuxt",
|
|
"@nuxt/test-utils/module",
|
|
],
|
|
|
|
runtimeConfig: {
|
|
public: {
|
|
API_BASE_URL: "https://api.heymlz.com",
|
|
},
|
|
},
|
|
});
|