https://github.com/benthepoet/elm-parcel-example
An example Elm application built with Parcel.
https://github.com/benthepoet/elm-parcel-example
Last synced: 4 months ago
JSON representation
An example Elm application built with Parcel.
- Host: GitHub
- URL: https://github.com/benthepoet/elm-parcel-example
- Owner: benthepoet
- License: mit
- Created: 2018-09-26T12:04:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-26T12:48:00.000Z (about 7 years ago)
- Last Synced: 2025-04-08T21:46:25.088Z (8 months ago)
- Language: HTML
- Size: 63.5 KB
- Stars: 13
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elm-parcel-example
An example Elm application built with Parcel.
## Running the application
To run the example application first install the dependencies.
```bash
npm install
```
Then just run the following command and `parcel` will serve the application.
```bash
npx parcel src/index.html
```
## Building for production
When you want to build the optimized production files you just run the following command.
```bash
npx parcel build src/index.html
```
Afterwards the compiled production assets will be located in the `dist` folder.