In this project we compile components to use outside of the Svelte framework into a regular webpage.
git clone https://github.com/silentworks/svelte-multi-component-demo.git
cd svelte-multi-component-demoNote that you will need to have Node.js installed.
Install the dependencies...
cd svelte-multi-component-demo
npm install...then build with Rollup:
npm run buildand now run the server to serve the public directory
npm startNavigate to localhost:5000. You should see your app running.