Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

cxa/ppx_bsx_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ppx_bsx_example

Install ppx_bsx

Clone this repo, and cd to its dir.

opam switch create . 4.06.1
eval $(opam env)
opam update
opam install ppx_bsx

Config bsconfig.json:

{
  "ppx-flags": [
    "./_opam/bin/ppx_bsx",
    "./node_modules/bs-platform/lib/bsppx.exe -bs-jsx 3"
  ]
}

Install npm dependencies

Run yarn or npm install.

Run

  • for development: yarn dev or npm run dev
  • for production / distribution: yarn dist or npm run dist

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published