Example of installation in the main file Create a file for variables. For example, at the root of the data.less directory. And register the file after registering the library. @import './node_modules/less-query/style.less'; @import './data.less';