Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 1 KB

README.md

File metadata and controls

65 lines (43 loc) · 1 KB

default

Project setup

# yarn
yarn

# npm
npm install

# pnpm
pnpm install

Compiles and hot-reloads for development

# yarn
yarn dev

# npm
npm run dev

# pnpm
pnpm dev

Compiles and minifies for production

# yarn
yarn build

# npm
npm run build

# pnpm
pnpm build

Customize configuration

See Configuration Reference.

Developing with podman

Install podman, follow instruction for your OS in https://podman.io/

cd into the application directory, you'll see a file called Containerfile.

Build the image

podman build . -t ${USER}/web-poc

Run the application using podman and mount src/ to the pod to edit files in real time.

podman run -e CHOKIDAR_USEPOLLING=true  -v ${PWD}/src/:/app/src/ -p 3000:3000 ${USER}/web-poc

Important: On any file changed, the application will get the update automatically.

In case you need to run a command in the Container o see logs, use the terminal available in the podman dashboard.