This is a project template for Svelte apps. This project includes:
To create a new project based on this template using degit:
npx degit valentin-vogel/svelte-babel-tailwindcss svelte-app
cd svelte-app
Install the dependencies...
cd svelte-app
npm install
...then start Rollup:
npm run dev
Navigate to localhost:5000. You should see your app running. Edit a component file in src
, save it, and reload the page to see your changes.
To create an optimised version for current browsers:
npm run build
For legacy support with Babel.js, Core.js and runtime support:
npm run build:legacy
You can run the newly built app with npm run start
. This uses sirv.