A minimal template to build websites with purecss, react.nim and jester.
NerdRat 7e42f63857 Added some tips to README.md | 4 år sedan | |
---|---|---|
src | 4 år sedan | |
README.md | 4 år sedan | |
purecss_react_nim.nimble | 4 år sedan |
A template to build websites using jester, react.nim and pure.css.
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.