mealz-components
v1.0.1
Published
The Mealz Components project leverages [Lit](https://lit.dev/) to provide server-side rendering web components.
Downloads
6,999
Readme
Mealz components
The Mealz Components project leverages Lit to provide server-side rendering web components.
Prerequisites
- Node.js: Version 18.x or higher
- Python 3
Installation
- Clone the repository:
git clone https://gitlab.com/miam/mealz-components.git
cd mealz-components
- Install dependencies
npm install
Building components
To build the components and generate the necessary JavaScript and CSS files, use the following command:
npx vite build --watch --config vite.config.js
This command will continuously monitor your files for changes and update the build output accordingly.
Development server
To serve the generated files, start the development server with:
python3 server.py
After starting the server, you can access the components at http://localhost:3004/
.