Assets — YAWIK 0.32 documentation


#1

Assets are common JS libraries like jquery, bootstrap or select2. It makes sense to manage these assets by npm. This means, all needed JS libraries are listed in package.json. If an additional library is needed, it can be added via npm i --save-dev <packagename>. This will update the package.json and download the package to the node_modules directory. Our bin/install-assets.sh copies all needed javascript, css, fonts, etc. files to the public/assets directory, which is accessable by the web server.


Dies ist ein Begleitthema zum ursprünglichen Beitrag unter https://yawik.readthedocs.io/en/latest/modules/core/assets