mealz-components
v2.4.0
Published
The Mealz Components project leverages [Lit](https://lit.dev/) to provide server-side rendering web components.
Downloads
2,090
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 installBuilding components
To build the components and generate the necessary JavaScript and CSS files, use the following command:
npx vite build --watch --config vite.config.jsThis 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.pyAfter starting the server, you can access the components at http://localhost:3004/.
