1.1.1 • Published 5 years ago
@mitama/portal v1.1.1
mitama-react-boilarplate
This is a react boilarplate to make SPA application for Mitama.
Directory Structure
.
├── README.md
├── front/
│ ├── dist/ # Frontend distribution directory
│ ├── package.json
│ ├── src/ # Frontend source directory
│ │ ├── App.js
│ │ ├── index.css
│ │ └── index.js
│ └── webpack.config.js
├── package.json
└── server/
└── index.js # Application entrypoint/front/dist will be served as static files.
Usage
Setup
In root directory, please type
npm installor
yarnApart from that, please setup front/ as same.
cd front; npm installcd front; yarnBuild
You can use build command for only front/ directory.
Please use
cd front/; npm run buildor
cd front/; yarn buildto bundle your application