A minimal team chat application.
Demo: https://chatterbox.ajithranka.com
-
Environment setup
Use the Node version listed in the .nvmrc file. If you have Node Version Manager installed, you can detect and use the correct version by running
nvm use
inside the project directory. -
Editor setup
If you are using Visual Studio Code, the .vscode folder lists required extensions and settings.
Script | Action |
---|---|
npm install |
Install project dependencies |
npm run dev |
Start dev server at http://localhost:3000 |
npm run lint |
Lint and format all source files |
Icons
Place SVG icons inside the assets/icons
folder. These will get optimised by the lint script using SVGO. The AppIconSpritesheet.vue
component is auto-generated by create-icon-spritesheet.js
script to include all icons as symbols. To use an icon, use the AppIcon
component with a name prop matching the icon's file name.
The deployment is managed on Render with this configuration file. A build is triggered on commit to the main
branch.
Script | Action |
---|---|
npm run generate |
Build production to .dist |
npm run preview |
Preview the production build |