Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.
/ v2p2-starter Public archive

Starter template for projects using Vue 3, Vite, PrimeVue and PWA support

License

Notifications You must be signed in to change notification settings

maciejpedzich/v2p2-starter

Repository files navigation

V2P2 Starter

Vue 3, Vite, and PrimeVue starter app with PWA support. Also featuring:

  • SFCs with <script setup> syntax
  • TypeScript support
  • Vue Router integration
  • ESLint x Prettier configuration with pre-commit linting Git hook
  • Unit testing with Jest, including sample spec file
  • E2E testing with Cypress, including example test file as well
  • Baseline Github Actions workflow
  • Live demo deployed on Netlify

Installation

Open your favourite CLI and clone the repo:

git clone https://github.com/maciejpedzich/v2p2-starter.git

Now cd into the project's directory and run npm install. That's it - you're ready to go!

Starting the Vite dev server

npm run dev

Creating a production build

npm run build

Locally serving site preview over HTTPS

npm run https-preview

Linting code

npm run lint

Running unit tests

npm run test:unit

Running E2E tests

npm run test:e2e

License

MIT