Skip to content
/ vue3-starter Public template

A minimal starter for a Vue3 project

License

Notifications You must be signed in to change notification settings

FjellOverflow/vue3-starter

Repository files navigation

vue3-starter

A minimal starter for a Vue3 project.

Features

This template comes pre-packed with

CI & CD

A CI pipeline for Github is configured in .github/workflows/ci.yml. On push it will run typecheck, lint, build as well as unit and e2e test.

A Dockerfile is present, too. The project can be packaged as a docker image with

docker build -t vue3-starter .

and run with

docker run -p 80:80 vue3-starter

which will start a nginx container that serves the application at localhost:80

Requirements

Installation

git clone https://github.com/FjellOverflow/vue3-starter.git
cd vue3-starter
pnpm i

In VSCode, go to Extensions, type @recommended and install recommended extensions.

Commands

Called with pnpm run <command>

command effect
dev starts hot-module-reload server
build builds for production
preview serves the build app for preview
test:unit runs unit tests with vitest
test:e2e runs end-to-end tests with cypress
lint lints source
typecheck typechecks source
update-deps auto-updates dependencies