nui-simple

0.0.8 • Public • Published

Quick start

GUIDES AND REFERENCES COMING SOON TO: http://neuelogic.com/

Want to know how to create a nui project from scratch?

$ npm i -g yarn
$ git init .
$ yarn init
$ yarn add nui-simple
$ mkdir -p src/pages/ src/actions src/views src/stores
$ touch src/actions/actions.js
$ touch src/pages/home.jsx
$ touch src/stores/store.js
$ touch src/views/helloWorld.jsx
$ git commit -a -m "Initial commit"
$ atom .

Then add some content to your src/pages/home.jsx file:

import React from 'react';
 
export default (nui) => () => (
    <b>Hello World!</b>
);

Add your start script to your package.json file:

...
    "scripts"{
        "start": "nui -b"
    }
...

And start it up!

$ yarn start

Package Sidebar

Install

npm i nui-simple

Weekly Downloads

0

Version

0.0.8

License

AGPLv3

Last publish

Collaborators

  • swivel