Home

Awesome

This project was bootstrapped with Create React App.

Folder Structure

After creation, your project should look like this: content holds all your page contents and components folder contains all the components in the project. You can generate contents and components files from the cli using yarn g:content and yarn g:component

my-app/
  README.md
  node_modules/
  package.json
  public/
    index.html
    favicon.ico
  src/
    content/
    pages/
    router/
    theme/
    utils/
    layout/
    components/

For the project to build, these files must exist with exact filenames:

You can delete or rename the other files.

You may create subdirectories inside src. For faster rebuilds, only files inside src are processed by Webpack.<br> You need to put any JS and CSS files inside src, otherwise Webpack won’t see them.

Only files inside public can be used from public/index.html.<br> Read instructions below for using assets from JavaScript and HTML.

You can, however, create more top-level directories.<br> They will not be included in the production build so you can use them for things like documentation.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.<br> Open http://localhost:3000 to view it in the browser.