frontend

package
v0.0.0-...-94bc3c9 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

README

new elm-spa project

More documentation at https://elm-spa.dev

local development

You can get this site up and running with one command:

npm start
other commands to know

There are a handful of commands in the package.json.

Command Description
npm run dev Run a dev server and automatically build changes.
npm run test:watch Run tests as you code.
npm run build Build the site for production.
npm run test Run the test suite once, great for CI

deploying

After you run npm run build, the contents of the public folder can be hosted as a static site. If you haven't hosted a static site before, I'd recommend using Netlify (it's free!)

using netlify

Add a netlify.toml file next to this README, for standard SPA routing:

[[redirects]]
  from = "/*"
  to = "/index.html"
  status = 200

Build command: npm run build

Publish directory: public

Documentation

Overview

Package frontend includes web UI frontend code.

Index

Constants

This section is empty.

Variables

View Source
var Content embed.FS

Content is a FS that holds the web UI assets

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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