aboutsummaryrefslogtreecommitdiff
path: root/frontend/README.md
blob: 51c3474bd1c686d1b275b49ce38227b7d3900889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# pux-starter-app

Starter [Pux](https://github.com/alexmingoia/purescript-pux/) application using
webpack with hot-reloading and time-travel debug using
[pux-devtool](https://github.com/alexmingoia/pux-devtool).

See the [Guide](https://alexmingoia.github.io/purescript-pux) for help learning
Pux.

![Pux starter app animation](support/pux-starter-app.gif)

## Installation

```sh
git clone git://github.com/alexmingoia/pux-starter-app.git example
cd example
npm install
npm start
```

Visit `http://localhost:3000` in your browser, edit `src/purs/Layout.purs`
and watch the magic!

## Available scripts

### watch

`npm start` or `npm run watch` will start a development server, which
hot-reloads your application when sources changes.

### serve

`npm run serve` serves your application without watching for changes or
hot-reloading.

### build

`npm run build` bundles and minifies your application to run in production mode.