Skip to main content
Version: 2.0.0
warning

This package is deprecated and is no longer updated. Use the Node webpack package as a replacement.

NPM

For ease of coding and to use the various NPM packages, you can declare the packages you need in the definition file of each theme. The framework automatically downloads the packages, then compiles them and loads them into the page as a single file.

To use this feature, you need to use the Webpack package alongside the main package to compile the files.

info

For more information, refer to the Webpack page.

An example of declaring packages in the theme definition file:

theme.json
{"type":"package", "name":"bootstrap", "version": "^3.3.7"}
{"type":"package", "name":"jquery", "version": "^3.0.0"}
info

For more information, refer to the Frontend page.