A custom made dynamic website for a woodwork company, meubelherstel
The project uses SvelteKit for the frontend and Sanity to handle its content.
Original template can be found here.
Note
The
/appfolder contains the frontend code, and the/studiofolder contains the Sanity Studio code.This is not a monorepo setup. app and studio are deployed separately.
The following commands are meant to be run in both the /app and /studio folders.
npm install to install dependenciesnpx -y sanity@latest init --env, this will:.env file with appropriate variablessanity init --env if you have the CLI installed)/app folder with PUBLIC_, they should be PUBLIC_SANITY_DATASET and PUBLIC_SANITY_PROJECT_ID.npm run dev to start the development serverYour SvelteKit app should now be running on http://localhost:5173/ and Studio on http://localhost:3333/.
Please reach out here: Megumi's GitHub