Install the dependencies...
cd svelte_magazine
npm install
npm run dev
Rollup(https://rollupjs.org):
Navigate to http://localhost:5000/feed:cat=news. You should see your app running. Edit a component file in src
, save it, and reload the page to see your changes.
Router with Svero:
App.svelte - router paths
This is a project template for Svelte apps. It lives at https://github.com/sveltejs/template.
To create a new project based on this template using degit:
npx degit sveltejs/template svelte-app
cd svelte-app
Note that you will need to have Node.js installed.
Psst — looking for a shareable component template? Go here --> sveltejs/component-template