A minimal template to build websites with purecss, react.nim and jester.

NerdRat 7e42f63857 Added some tips to README.md 4 years ago
src 53b5c8e807 Replaced wget with getassets to retrieve external assets. 4 years ago
README.md 7e42f63857 Added some tips to README.md 4 years ago
purecss_react_nim.nimble 53b5c8e807 Replaced wget with getassets to retrieve external assets. 4 years ago

README.md

Pure.css, React.nim template

A template to build websites using jester, react.nim and pure.css.

Start using it

In order to start using this template you must:

Download or clone the template from NotABug

$ git clone https://notabug.org/NerdRat/purecss_react_nim.git -b with-jester <your-project-name>

Modify the .nimble file from template to suit your needs. You can change the name of the author, the project name, the views, the server, etc.

$ cd <your-project-name>
$ mv purecss_react_nim.nimble <your-project-name>.nimble
$ mv src/purecss_react_nim.nim src/<your-project-name>.nim
$ rm README.md
$ rm -rf .git
$ git init .

Download the assets and build the frontend with:

$ nimble buildFrontend

Build the project with:

$ nimble build

If you just need the frontend download the template from the master branch.

$ git clone https://notabug.org/NerdRat/purecss_react_nim.git -b master <your-project-name>

Then modify the template to suit your needs and enjoy developing your Nim web application.