mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-10 04:22:09 +10:00
uses the VueCarousel library to add an actual carousel to the store page for the images. uses responsive styles
52 lines
870 B
TypeScript
52 lines
870 B
TypeScript
import path from "path";
|
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
// Nuxt-only config
|
|
compatibilityDate: "2024-04-03",
|
|
devtools: { enabled: false },
|
|
css: ["~/assets/core.scss"],
|
|
|
|
postcss: {
|
|
plugins: {
|
|
tailwindcss: {},
|
|
autoprefixer: {},
|
|
},
|
|
},
|
|
|
|
app: {
|
|
head: {
|
|
link: [{ rel: "icon", href: "/favicon.ico" }],
|
|
},
|
|
},
|
|
|
|
nitro: {
|
|
experimental: {
|
|
websocket: true,
|
|
},
|
|
},
|
|
|
|
// Module config from here down
|
|
modules: ["@nuxt/content", "vue3-carousel-nuxt"],
|
|
|
|
carousel: {
|
|
prefix: "Vue",
|
|
},
|
|
|
|
content: {
|
|
api: {
|
|
baseURL: "/api/v1/_content",
|
|
},
|
|
markdown: {
|
|
anchorLinks: false,
|
|
},
|
|
sources: {
|
|
content: {
|
|
driver: "fs",
|
|
prefix: "/docs",
|
|
base: path.resolve(__dirname, "docs"),
|
|
},
|
|
},
|
|
},
|
|
});
|