html5-infobeamer-aalen-geek.../README.md

26 lines
677 B
Markdown
Raw Normal View History

VOC Info Page
===============
This is a lektor Projekt, more about lektor on [getlektor.com](https://getlektor.com).
Because thsi project is migrated from a hugo project, currently the [esbuild](https://esbuild.github.io/) Javascript builder is not automated and has to be done manually to update scripts.
esbuild instructions
----------------------
prepare esbuild nodejs enviroment
```
pip install nodeenv
nodeenv -p
npm install --save-exact --save-dev esbuild
./node_modules/.bin/esbuild --version
npm install react react-dom
```
build assets
```bash
./node_modules/.bin/esbuild assets/js/custom/nodes/schedule.js --bundle --outfile=assets/rendered_schedule.js
```