Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Env variables for Algolia Zettelkasten search:
PUBLIC_ALGOLIA_API_ID=
PUBLIC_ALGOLIA_API_KEY=
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
After making a major change, add an entry to changes.json in this format:
{
"date": "yyyy-MM-dd",
"title": "Name of Change",
"description": "Short description of what was changed.",
"path": "/path-to-page"
},
Save the file and run npm run xml
to generate the updated feed.