1.0.1 • Published 6 years ago
cra-template-riant-antd v1.0.1
cra-template-riant-antd
Creating an App
You’ll need to have Node 8.16.0 or Node 10.16.0 or later version on your local development machine (but it’s not required on the server). You can use nvm (macOS/Linux) or nvm-windows to switch Node versions between different projects.
To create a new app, you may choose one of the following methods:
npx
npx create-react-app my-app --template riant-antd
cd my-app
npm startnpm
npm init react-app my-app --template riant-antd
cd my-app
npm startyarn
yarn create react-app my-app --template riant-antd
cd my-app
npm startIt will create a directory called my-app inside the current folder. Inside that directory, it will generate the initial project structure and install the transitive dependencies:
my-app
├── README.md
├── node_modules
├── package.json
├── jsconfig.json
├── riant.config.js
├── .eslintrc
├── .gitignore
├── public
│ ├── favicon.ico
│ ├── index.html
│ └── manifest.json
└── src
├── components
├── config
├── css
├── layouts
├── pages
├── index.js
├── router.js
├── serviceWorker.js
└── setupTests.js