mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
## Summary Scaffolds the new apps/website/ Astro 5 + Vue 3 marketing site inside the monorepo. ## Changes - apps/website/ with package.json, astro.config.mjs, tsconfig, Nx targets - @comfyorg/design-system/css/base.css — brand tokens + fonts (no PrimeVue) - pnpm-workspace.yaml catalog entries for Astro deps - .gitignore and env.d.ts for Astro ## Stack (via Graphite) - **[1/3] Scaffold** ← this PR - #10141 [2/3] Layout Shell - #10142 [3/3] Homepage Sections Part of the comfy.org website refresh (replacing Framer). ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-10140-feat-scaffold-Astro-5-website-app-design-system-base-css-1-3-3266d73d365081688dcee0220a03eca4) by [Unito](https://www.unito.io)
25 lines
513 B
TypeScript
25 lines
513 B
TypeScript
import { defineConfig } from 'astro/config'
|
|
import vue from '@astrojs/vue'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
export default defineConfig({
|
|
site: 'https://comfy.org',
|
|
output: 'static',
|
|
integrations: [vue()],
|
|
vite: {
|
|
plugins: [tailwindcss()]
|
|
},
|
|
build: {
|
|
assetsPrefix: process.env.VERCEL_URL
|
|
? `https://${process.env.VERCEL_URL}`
|
|
: undefined
|
|
},
|
|
i18n: {
|
|
locales: ['en', 'zh-CN'],
|
|
defaultLocale: 'en',
|
|
routing: {
|
|
prefixDefaultLocale: false
|
|
}
|
|
}
|
|
})
|