Skip to content

soramitsukhmer-lab/nix-vue-project

Repository files navigation

vue-project

This template should help get you started developing with Vue 3 in Vite.

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Nix

To use this project with Nix, you need to have Nix installed.

Starting a development shell

nix develop -c $SHELL

which node
# /nix/store/rs7ap24fi2lfzvr9pgi8wah44sdbmbks-nodejs-22.16.0/bin/node
which yarn
# /nix/store/8v2mz5gfxnw7205jxahcj9dv29jb35db-yarn-1.22.22/bin/yarn

Running the project directly from GitHub

This command will run the project directly from the GitHub repository without cloning it first. It uses Nix to set up the environment and dependencies and serving the project using Caddy.

nix run github:soramitsukhmer-lab/nix-vue-project

Customize configuration

See Vite Configuration Reference.

Project Setup

pnpm install

Compile and Hot-Reload for Development

pnpm dev

Type-Check, Compile and Minify for Production

pnpm build

Lint with ESLint

pnpm lint

About

A Nix project for building and packaging Vue 3 in Vite.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published