# Install dependencies (only the first time)
npm install
# Run the local server at localhost:8080
npm run dev
# Build for production in the dist/ directory
npm run build- Add a
Componentpage directory to thepages/directory. - Add a
Component.jsfile to the page directory.Component.jsfile renders UI and will be imported in theindex.jsfile. - Add a
Component.canvas.jsfile to the page directory.Component.canvas.jsfile defines what<canvas>renders and will be imported in theComponent.jsfile. And do not forget to push cleanup functions for event listeners toeventCleanStore. - Add a
Component.scssfile to the page directory.Component.scssfile defines styles and will be imported in theComponent.jsfile. - Add your page
Componentto therouter/routes.jsfile. Then, it will automatically create a nav UI item and handle the route to the page.
- This project uses stylelint-prettier