Download nuxt.config.ts from binhugg4/web: direct link, hf CLI and curl.
- Browser
- Download file 567 Bytes
-
https://huggingface.co/spaces/binhugg4/web/resolve/main/nuxt.config.ts
- Command line
-
hf download hf://spaces/binhugg4/web/nuxt.config.ts
-
curl -L -o nuxt.config.ts https://huggingface.co/spaces/binhugg4/web/resolve/main/nuxt.config.ts
567 Bytes
| export default defineNuxtConfig({ | |
| devtools: { enabled: false }, | |
| modules: [ | |
| "@pinia/nuxt", | |
| "nuxtjs-naive-ui", | |
| "@nuxtjs/tailwindcss", | |
| ], | |
| css: ["~/assets/css/main.css"], | |
| runtimeConfig: { | |
| apiBaseUrl: process.env.NUXT_API_BASE_URL || "http://127.0.0.1:9999", | |
| public: { | |
| apiBase: process.env.NUXT_PUBLIC_API_BASE || "/api", | |
| siteName: "BinV", | |
| }, | |
| }, | |
| // Remove ISR rules - HF Space has no persistent cache storage | |
| routeRules: { | |
| "/": { ssr: true }, | |
| "/category/**": { ssr: true }, | |
| "/vod/**": { ssr: true }, | |
| }, | |
| }); |