/svelte-website

♡ using Particles.js

Primary LanguageHTML

Netlify Status

Getting started with SvelteJS v3

This is a simple web using [Svelte](https:// .svelte.technology) from svelte-starter-template and svelte-template. To get going, make sure we have NodeJS and git installed.

...install all project dependencies...

npm install

...and build the application.

npm run dev

For the above commmand, file rollup.config.js imports for "live-reload" and "serve." These allow the website to rebuild itself automatically when you add new code.

To create an optimised version of the app:

npm run build

We can run the newly built app with npm run start. This uses sirv, which is included in the package.json's dependencies so that the app will work when you deploy to platforms like Heroku.

Next steps

Visit the documentation page for SvelteJS! 😃