This template should help get you started developing with Vue 3 in Vite.
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.
See Vite Configuration Reference.
Install Docker Desktop, then you can build and run the docker images needed to run the site:
docker compose up --build
if we ever need to blow away the mysql db, then you can rerun migrations against a new db. You'll have to open a shell to the backend container and run
npx prisma migrate dev --name init
And select y
to run the migrations
If your mysql container is thrashing with mysql.sock errors, kill the container, remove the mysql_data/mysql.sock file and restart the container