This is the main component of leihs. See the super project leihs/leihs for more information.
Install needed dependencies:
node.js, seeasdfandasdf nodejs
If you changed the assets: ./bin/recompile-assets
Before pushing, make sure to commit and push public/assets submodule.
Optionally webpack can run alongside rails, to compile files on change instead of on request (faster). This is recommended when working on JS/Frontend primarily:
run ./bin/webpack-dev-server before starting ./bin/rails server
Packages are managed by NPM instead of Yarn now.