n3wborn / vite-vue-ts

vite-vue-ts boilerplate running with docker. To have my dev env ready to start when learning vuejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vite Vue TS

Install

git clone https://github.com/n3wborn/vite-vue-ts.git

cd vite-vue-ts

make install

Config

Vite and Docker are configured to use 3333 port but you can change if you want.

change Vite port:

# vite.config.ts
server: {
-    port: 3333,
+    port: <new port>,
    host: true,
},

change container port accordingly:

# Makefile
-PORT_CONTAINER = 3333
+PORT_CONTAINER = <new port>

if you want to change you host port too:

# Makefile
-PORT_HOST = 3333
+PORT_HOST = <new port>

Dev

Package Management

Once container is running :

  • make add_deps <package> to add a dependency
  • make add_dev_deps for a dev dependency
  • make rm_deps to remove one of them

Links

About

vite-vue-ts boilerplate running with docker. To have my dev env ready to start when learning vuejs


Languages

Language:Vue 35.8%Language:CSS 28.9%Language:Makefile 20.4%Language:HTML 7.9%Language:TypeScript 7.0%