Boilerplate to quckly get up and running with Svelte and Notion, with
NOTION_TOKEN
by following their Getting Started guideid
. Maintain it as NOTION_DATABASE_ID
title
(title) - For post titlesummary
(text) - For post summarytags
(multi-select) - For post tagsauthor
(person) - For post's Authorpublished
(checkbox) - Published? (un-used currently)This will setup your Notion table, as the table for your SvelteKit + Notion blog. Congrats!
NOTION_TOKEN
and NOTION_DATABASE_ID
is expected to be available in your Vercel/Netlify account as environment variables. Add them, fork the project and deploy on Vercel.adpater
key in svelte.config.js
to `netlify()prefixed with the aforementioned environment variables to run.__ Refer
.env.example` for help.