A SvelteKit static site template configured for deployment to QuantCDN.
@sveltejs/adapter-static for static site generationnpm install
npm run dev
npm run build
The static files will be generated in the build directory.
npm run preview
This template includes a GitHub Actions workflow that automatically deploys to QuantCDN when you push to the main branch.
Configure these secrets in your GitHub repository:
QUANT_CUSTOMER - Your QuantCDN customer IDQUANT_PROJECT - Your QuantCDN project nameQUANT_TOKEN - Your QuantCDN API tokenYou can also deploy manually using the Quant CLI:
npm install -g @quantcdn/cli
npm run build
quant deploy --dir build
ssg-sveltekit/
├── src/
│ ├── app.html # HTML template
│ ├── app.d.ts # TypeScript declarations
│ └── routes/
│ ├── +layout.svelte # Root layout
│ └── +page.svelte # Home page
├── static/ # Static assets
├── quant/
│ └── meta.json # QuantCDN template metadata
├── .github/workflows/
│ └── deploy.yml # CI/CD workflow
├── svelte.config.js # SvelteKit configuration
├── vite.config.ts # Vite configuration
├── tsconfig.json # TypeScript configuration
└── package.json
MIT