svelte-simple-stores

Svelte Simple Stores

Svelte Simple Stores Example

Svelte Simple Stores Example

Get started

To create a new project based on this template using degit:

npx degit sveltejs/svelte-simple-stores
 svelte-simple-stores

cd svelte-simple-stores

Install the dependencies...

cd svelte-simple-stores
yarn

...then start webpack:

yarn dev

Navigate to localhost:8080. You should see each component produce output in the browser (and the browser console). Edit a component file in src, save it, and the page should reload with your changes.

Deploying to the web

With now

Install now if you haven't already:

yarn global add now

Then, from within your project folder:

now

As an alternative, use the Now desktop client and simply drag the unzipped project folder to the taskbar icon.

With surge

Install surge if you haven't already:

yarn global add surge

Then, from within your project folder:

yarn build
surge public

LICENSE

License: GPLv3 (see LICENSE)

Top categories

Loading Svelte Themes