Skip to content

[mirror repo of https://gitlab.iits.tech/robertwloch/aoc/aoc2022] That repo contains my solutions which are always developed test first using Vitest and Typescript. Since the base of the repo is my Vue 3 base project, it may contain some noise. Just ignore that and check the aoc folders in src and tests.

License

Notifications You must be signed in to change notification settings

robert-wloch-iits/aoc2022

Repository files navigation

Vue 3 + Typescript + Vite

This template should help get you started developing with Vue 3, Typescript and Jest Unit Testing in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Scaffolding

That project was set up following in parts Build a Vue 3 + TypeScript dev environment with Vite

Shell Setup

nvm

Please install nvm.

direnv

Copy the file .envrc.template to .envrc. Install direnv and run direnv allow on the repository root.

The provided .envrc configuration uses nvm to install a specific node version, it installs pnpm globally.

pnpm

The project uses pnpm as package manager. Its commands are essentially similar to yarn. pnpm needs the .npmrc file which is already part of the repostory. To install the project dependencies run pnpm install.

Open Browser Automatically

If you're on a Unix based shell you can have the pnpm dev command open in a specific browser in incognito / private browsing mode automatically. .envrc is already prepared for that. Just adapt the contents of the file .open-browser.js to your needs.

If you do not want to use that feature, just provide your .envrc excluding the BROWSER export.

Recommended IDE Setup

Choose one setup for all participants. Unfortunately, CodeTogether and Code With Me are not compatible with each other.

About

[mirror repo of https://gitlab.iits.tech/robertwloch/aoc/aoc2022] That repo contains my solutions which are always developed test first using Vitest and Typescript. Since the base of the repo is my Vue 3 base project, it may contain some noise. Just ignore that and check the aoc folders in src and tests.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published