svelte-template

Svelte Template

Iris CLI Template for building basic applications with Iris & Svelte

svelte app

This is a project template for Iris & Svelte apps based on sveltejs/template.

Prerequisites

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.

Get started

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)

Top categories

Loading Svelte Themes