$ npm install
or
$ yarn install
# dev server with hot reload at http://localhost:3000
$ npm start
# if you use Node 17+ use this command instead of `npm start`
$ npm run start:n17
or
# dev server with hot reload at http://localhost:3000
$ yarn start
# if you use Node 17+ use this command instead of `yarn start`
$ yarn start:n17
Navigate to http://localhost:3000. The app will automatically reload if you change any of the source files.
Run build
to build the project. The build artifacts will be stored in the build/
directory.
# build for production with minification
$ npm run build
# if you use Node 17+ use this command instead of `build run build`
$ npm run build:n17
or
# build for production with minification
$ yarn build
# if you use Node 17+ use this command instead of `yarn build`
$ yarn build:n17
Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:
cdc-admin-portal
├── public/ # static files
│ └── index.html # html template
│
├── src/ # project root
│ ├── assets/ # images, icons, etc.
│ ├── components/ # common components - header, footer, sidebar, etc.
│ ├── layouts/ # layout containers
│ ├── scss/ # scss styles
│ ├── views/ # application views
│ ├── _nav.js # sidebar navigation config
│ ├── App.js
│ ├── ...
│ ├── index.js
│ ├── routes.js # routes config
│ └── store.js # template state example
│
└── package.json
The documentation for the CoreUI Admin Template is hosted at website CoreUI for React