This is a project template for Iris & Svelte apps based on sveltejs/template.
You will need to have:
- Iris CLI installed to run the
iris-cli
command. - Node.js to build the frontend application.
- Go to run the web server.
Install the template with Iris CLI:
iris-cli new --module=my-app svelte
Install the dependencies and build the svelte app with Rollup...
cd app
npm install
npm run dev (for livereload)
...then start the Iris web server:
cd ../
go run main.go
Navigate to localhost:8080. You should see your app running.
For building the production bundle:
cd app
npm run build (for build the production bundle)