[Solved] Vue Install less Error: this.getOptions is not a function

Vue installs less. This.getoptions is not a function
the reason is that the highest version is installed by default during installation (NPM install less loader)

solution: uninstall the previous version first and reinstall the lower version

npm uninstall less-loader

npm install less- [email protected]

Read More: