This repo is using svelte to generate static blog site. Inspired by react-notion-x
It uses Notion as a CMS, can be deployed to GitHub pages or Vercel;
- Setup only takes a few minutes(single config file)
- Build using Svelte without CSR that means only html files and css files
- Excellent page speeds, no hydrate, no Javascript.
- Responsive for different devices
https://xchb.work/svelte-notion/
All config is defined in site.config.ts.
- Fork / clone this repo
- Change a few values in site.config.ts
- npm install
- npm run dev to test locally
- npm run deploy to deploy to vercel 💪
I tried to make configuration as easy as possible — All you really need to do to get started is edit rootNotionPageId.
We recommend duplicating the default page as a starting point, but you can use any public notion page you want.
Make sure your root Notion page is public and then copy the link to your clipboard. Extract the last part of the URL that looks like 7875426197cf461698809def95960ebf, which is your page's Notion ID.