No description
Find a file
2023-11-01 14:33:11 +01:00
assets Add esbuild instructions as javascript builder 2023-11-01 14:33:11 +01:00
content dirty migration v1 2023-11-01 02:49:29 +01:00
models dirty migration v1 2023-11-01 02:49:29 +01:00
templates dirty migration v1 2023-11-01 02:49:29 +01:00
.gitignore Add esbuild instructions as javascript builder 2023-11-01 14:33:11 +01:00
LICENSE create scss 2023-11-01 00:31:31 +01:00
README.md Add esbuild instructions as javascript builder 2023-11-01 14:33:11 +01:00
voc-info.lektorproject finish index page 2023-11-01 01:59:19 +01:00

VOC Info Page

This is a lektor Projekt, more about lektor on getlektor.com.

Because thsi project is migrated from a hugo project, currently the esbuild 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

./node_modules/.bin/esbuild assets/js/custom/nodes/schedule.js --bundle --outfile=assets/rendered_schedule.js