npm install @coreui/icons
npm install @coreui/icons-reactimport { CIcon, CIconRaw } from '@coreui/icons-react';
import { cifAu } from '@coreui/icons';or:
@import '~@coreui/icons/css/all.css';...
class CoreUIIcons extends Component {
...
render() {
return (
<CIconRaw name='cifAu' size="2xl"/>
<CIcon name="cil-list" size="2xl"/>
)
}
...- bootstrapped with nwb toolkit
package.json is configured with "scripts" we can use with npm run while developing the project.
| Command | Description |
|---|---|
npm start |
start a development server for the demo app |
npm test |
run tests |
npm run test:coverage |
run tests and produce a code coverage report in coverage/ |
npm run test:watch |
start a test server and re-run tests on every change |
npm run build |
prepare for publishing to npm |
npm run clean |
delete built resources |