If you are getting the following error, it means that you are using the wrong preprocessor or you are not using a compatible version of the less css preprocessor. The version you are using should be 7.3.0 or later. The latest version of vue is 2.6.11, and the current less-loader is 8.1.0. To solve this issue, update your versions to 7.3.0 or earlier.
Syntax Error – This.getOptions is Not a Function