Using Vitejs with docker setup and commands in a Makefile
-
Clone this repository
-
Create a new vite project o add to an existing project
npm create vite@latest
- Change var values that you need and copy the
env.example
to a.env file
with
cp env-example .env
- Use Makefile commands to interact with project
# This will install necessary packages and run dev script putting project in http://localhost:5173 port
make first
See all commands with
make help
Original versions used as base source and additional setup to generate Library with Vite