Book To Be Read List page. My first time playing around with svelte. Just a lil fun.
Built following Net Ninja Tutorial found here, might be a little out of date at this point, but I got the jist.
Install the dependencies...
npm install
...then start:
npm run dev
Navigate to localhost:8080. You should see your app running. By default, the server will only respond to requests from localhost.
If you're using Visual Studio Code we recommend installing the official extension Svelte for VS Code. If you are using other editors you may need to install a plugin in order to get syntax highlighting and intellisense.
To create an optimised version of the app:
npm run build
You can run the newly built app with npm run start
. This uses sirv, which is included in your package.json's dependencies
so that the app will work when you deploy to platforms like Heroku.