1.0.24 • Published 7 years ago
intraactive-navigator2 v1.0.24
IntraActive Navigator
Navigator
Run development mode
npm run devRun test
npm run testBuild for production
npm run buildThe output will be under /dist
Debug active unit test file
To debug the active unit test file, go to the debug section in VS Code and select the "Jest Test Current File" launch config. Then open your unit test file, set breakpoints wherever you want and press "F5".
How to use images
To use images, you can import them in your current file and webpack will give you the image as a base64 encoded string or as a path to the image.
import * as image from './image.jpg';
const ImageComponent = () => <img src={image} />;1.0.24
7 years ago