The Holding Space website, built with SvelteKit and configured to deploy to Netlify.
- Staging site
- Live TBC
First, install the dependencies:
npm installStart a development server (you can omit -- --open if you don't want it to open in a new tab automatically):
npm run dev -- --openThis site is built with SvelteKit, with pages represented by +page.svelte files in the the routes directory.
Individual UI elements such as headers, form inputs and blocks to display facilitator information are in the components directory.
Svelte files typically look and behave like this:
<script>
// Import other elements into this one
// Functions to bring data in or out of this page or element
</script>
<html>
// The HTML layout and text content of the page or element
</html>
<style>
/* CSS styling for the elements in this page only */
</style>So to update text content, look for it in the <html> section of a likely component. To update appearance, look in the <style> section, though some global styles may originate from the overall +layout.svelte file.
To create a production version of your app:
npm run buildYou can preview the production build with npm run preview.