No description, website, or topics provided.
PureScript CSS JavaScript HTML
Latest commit 19642b0 Oct 2, 2015 @AlexeyRaga better name
Permalink
Failed to load latest commit information.
css updated styles Sep 30, 2015
src better name Oct 2, 2015
.gitignore stuff works, but unstyled Sep 22, 2015
README.md added screenshot Sep 28, 2015
bower.json stuff works, but unstyled Sep 22, 2015
gulpfile.js Fix the build Sep 25, 2015
index.html some styling Sep 24, 2015
package.json stuff works, but unstyled Sep 22, 2015
webpack.config.js stuff works, but unstyled Sep 22, 2015
welcome.js some styling Sep 24, 2015

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 .