svelte-template

command module
v0.0.0-...-78ff012 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 1 Imported by: 0

README

svelte app

build status report card

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)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL