- Route:
src/views/AddProject.vue(not linked in the app) - Purpose: Generate new project objects for
src/data/projects.jswithout a backend
Usage:
- Navigate to
/add-project. - Fill out the form (Pathway, Repository Link, Description).
- Click
Save. - Copy the generated JavaScript object from the browser console and paste it into
src/data/projects.js.
Example console output:
{
id: 1767897128742,
pathway: 'webDev',
repoLink: 'https://github.com/Code-You-Contributors/TPM-Assignment-Website',
description: 'Example project'
},This template should help get you started developing with Vue 3 in Vite.
VS Code + Vue (Official) (and disable Vetur).
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
See Vite Configuration Reference.
npm installnpm run devnpm run buildRun Unit Tests with Vitest
npm run test:unit