This is a repository demonstrating devcontainer based development with Vue 3 and Vite. It has been bootstrapped by following Vue's Quick Start page, with the following modifications:
- Devcontainer configuration in .devcontainer subdirectory. For more information about devcontainers, see Developing inside a Container.
- A custom
Dockerfile. Another option is to use pre-built devcontainer images. - The local profile directory is persisted between container rebuilds. Handy with e.g. Claude Code!
- Local Chromium installed inside the container for end-to-end testing.
.npmrcfile that disables install scripts withignore-scripts=true.
npm run devnpm run buildRun Unit Tests with Vitest
npm run test:unitRun End-to-End Tests with Playwright
# Runs the end-to-end tests
npm run test:e2e
# Runs the tests of a specific file
npm run test:e2e -- tests/example.spec.tsLint with ESLint
npm run lint