![Screenshot 2024-05-30 at 10 54 30](https://private-user-images.githubusercontent.com/12916001/335113767-dd079ff1-f304-4b21-9d15-fb77e48098ce.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyMzk3OTYsIm5iZiI6MTcyNTIzOTQ5NiwicGF0aCI6Ii8xMjkxNjAwMS8zMzUxMTM3NjctZGQwNzlmZjEtZjMwNC00YjIxLTlkMTUtZmI3N2U0ODA5OGNlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAyVDAxMTEzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBlYzY3ODY0NzZhZDcyZWU1OTk4NTI4NzljOGJhY2Q4YzQ1YTcyZWU5NjJiODlkZGZlMGUwZWI0MzJkN2NhZjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4bgAV8pjM5Sy7g6dPqR6RmreQR9LjzFSK8J8aaMpCMA)
Download Node.js 16.
# 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
To deploy the app with gh-pages some prerequisites are necessary.
npm install gh-pages --save-dev
For more information see: https://www.npmjs.com/package/gh-pages
To deploy your changes use the predefined deploy script.
# Build for production in the `dist` directory and publish the folder's content to the `gh-pages` branch
npm run deploy
Running the script for the first time will do the initial setup automatically and your project will be published automatically. The gh-pages settings can be found in your repository settings (Settings -> Pages
).
Install https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint in your VS Code to use eslint for formatting and linting. A configuration file (.eslintrc.js
) is already provided in the project.