react-ost

1.1.0 • Public • Published

react-ost logo

react-ost

Create React apps with no build configuration. It include:

  • client-side-render boilerplate project.
  • server-side-render bolierplate project.

Quick Overview

npm i -g react-ost
react-ost init
cd [my-app]
npm run dev

Then open http://localhost:7706/ to see your app.

Logs

2018-10-27 Client-side-render add cdn-ver.

Bolierplate

It will create a directory called my-app inside the current folder.

client-side-render template

Project structure:

my-app
├── src
│   ├── components
│   ├── config
│   ├── containers
│   ├── css
│   ├── utils
│   └── app.js
└── build
│   ├── build.js
│   ├── dev-client.js
│   ├── dev-server.js
│   ├── webpack.base.config.js
│   ├── webpack.dev.config.js
│   └── webpack.prod.config.js
├── dist
├── .babelrc
├── .eslintignore
├── .eslintrc.js
├── index.html
├── node_modules
├── server.js
├── .gitignore
├── .editorconfig
├──  README.md
└── package.json

server-side-render template

Project structure:

my-app
├── build
│   ├── webpack.dev.config.js
│   └── webpack.prod.config.js
├── client
│   ├── components
│   ├── config
│   ├── containers
│   ├── css
│   ├── utils
│   ├── index.tpl.html
│   └── app.js
├── server
│   ├── middlewares
│   ├── routes
│   ├── app.js
│   ├── server.dev.js
│   └── server.prod.js
├── views
│   ├── dev
│   └── prod
├── dist
├── node_modules
├── postcss.config.js
├── .gitignore
├── .editorconfig
├──  README.md
└── package.json

Package Sidebar

Install

npm i react-ost

Weekly Downloads

4

Version

1.1.0

License

ISC

Unpacked Size

22.9 kB

Total Files

5

Last publish

Collaborators

  • shangboyang