Now we will need to create the entry point of your website/app. Let's create a
App.js, placing it on the root directory of your project (sibling to
;;;const Home =<div><p>This is a homepage</p></div>;<Router history=browserHistory><Route path="/" component=Home /></Router>;
Here we defined a router with one route that will be the homepage. Let's check this page in a browser.
Phenomic CLI have 2 commands:
start (development server) and
generate static build).
Let's add this commands into some scripts of the
Now we can use
npm start to start the website/app. Website/app should be
accessible via http://localhost:3333.
Enjoy your hello world!