svelte-compose Svelte Themes

Svelte Compose

Setting Up

Followed 'docker-compose svelte' to create dockerized skeleton app that hot reloads with Vite HMR.

Pre-requisites

$ brew install pnpm

Created a new client app

$ pnpm create svelte <app_name>

Install modules

$ cd <app_name>
$ pnpm install -S yup
$ pnpm install

Build

# need to be on project root since docker-compose.dev.yml is in project root
$ cd ..  
$ docker-compose -f docker-compose.dev.yml up --build

Run

$ docker-compose -f docker-compose.dev.yml up --build 

References

Top categories

Loading Svelte Themes