Skip to content

haskell-miso/miso-c3js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🍜 πŸ“ˆ miso-c3.js

This project demonstrates an integration between miso and the c3.js library. See live.

image

Tip

This requires installing nix with Nix Flakes enabled. Although not required, we recommend using miso's binary cache.

Development

Call nix develop to enter a shell with GHC 9.12.2

$ nix develop --experimental-features nix-command --extra-experimental-features flakes

Once in the shell, you can call cabal run to start the development server and view the application at http://localhost:8080

Build (Web Assembly)

$ nix develop .#wasm --command bash -c "make"

Build (JavaScript)

$ nix develop .#ghcjs
$ build app

Serve

To host the built application you can call serve

$ nix develop .#wasm --command bash -c "make serve"

Clean

$ nix develop --command bash -c "make clean"

This comes with a GitHub action that builds and auto hosts the example.

About

🍜 πŸ“ˆ miso integration with c3.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published