No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
src
.gitignore
README.md
bower.json
gulpfile.js
index.html
package.json
webpack.config.js
welcome.js

README.md

Example $ PureScript + React + Electron

Screenshot

Getting ready

If you haven't done it already, install purescript (a compiler) and pulp (a build tool):

$ npm install -g purescript pulp

Clone the repository and make it ready (gulp is only needed because I don't know how to do better ;))

$ git clone git@github.com:AlexeyRaga/purescript-react-electron-example.git
$ cd purescript-react-electron-example

$ npm install        # installs js dependencies
$ pulp dep install   # installs purescript dependencies
$ gulp               # builds the project

Running in browser

$ pulp server

and then navigate to http://localhost:1337

Running in Electron

First install Electron:

$ npm install electron-prebuilt -g

Then, assuming you are in the example project directory execute:

$ electron .