Vue + Vite application using Server Side Rendering (SSR)
You need to create a .env file to set the environment variables with the following content:
PORT=3000
API_URL=https://example.comyarn devyarn build:server
yarn build:client
yarn startFiles are contains in ./config/docker
The environment variables are directly set inside the docker-compose.{prod | dev}.yml file
make # start the container for Unix systems
make stop # stop the container for Unix systems
docker-compose -f ./config/docker/docker-compose.dev.yml up --build # start dev
docker-compose -f ./config/docker/docker-compose.prod.yml up --build # start prodyarn test:unityarn test:e2eIf you go to ./src/client/components/themeSwitch you can find the toggle swtch from this tiktok