svelte-parcel-hmr-issue

Svelte Parcel Hmr Issue

Demonstration of HMR issue with inline styles with Parcel's Svelte Plugin.

Svelte seed

A ready to go, live-reloading seed project for svelte.

Uses parceljs for bundling.

Just edit the files in src/components to get started.

Preparation

npm install

How to run

npm run dev

Developing

Edit the component.html file and run npm run watch

Building for production

Run:

npm run build

and your built asset will exist in /dist/<hash>.js.

Deploying

The seed has no built-in functionality for deployment, but recommends installing now:

npm i -g now

and using their zero config deployments to get started!

now

Top categories

Loading Svelte Themes