1.1.4 • Published 8 years ago
create-react-frame v1.1.4
Create-react-frame
This package includes the global command for Create-react-frame.
Getting Started
Installation
Install it once globally:
npm install -g create-react-frame
Creating an React Project
To create a new project, run:
create-react-app demo
cd demo
It will create a directory called demo inside the current folder.Inside that directory, it will generate the initial project structure and install the transitive dependencies:
demo:
│ .npmignore
│ LICENSE
│ package.json
│ README.md
│ yarn.lock
├─config
│ │ env.js
│ │ paths.js
│ │ polyfills.js
│ │ webpack.config.dev.js
│ │ webpack.config.prod.js
│ │ webpackDevServer.config.js
│ └─jest
│ cssTransform.js
│ fileTransform.js
├─public
│ favicon.ico
│ index.html
│ manifest.json
├─scripts
│ build.js
│ start.js
│ test.js
└─src
│ index.js
│ registerServiceWorker.js
├─actions
│ index.js
├─api
│ nav.js
├─assets
│ └─less
│ base.less
│ variables.less
├─components
│ ├─NotFound
│ │ index.js
│ │ index.less
│ └─Sider
│ index.js
├─constants
│ ActionTypes.js
│ logger.js
├─containers
│ └─AppContainer
│ index.js
│ index.less
├─reducers
│ index.js
│ nav.js
└─routes
index.js
Start the Project
npm
npm install&npm start
yarn
yarn install&yarn start
Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.