While attempting to customize global variables using stylus config in Vuetify, I discovered that it is no longer supported.
To address this issue, I executed the following command to install the necessary loaders:
npm i --save-dev stylus stylus-loader css-loader style-loader
.
However, after adding these libraries, I encountered the error mentioned in the title. Even after removing them and performing a clean reinstallation of npm packages using npm reinstall
, the error persisted.
Here is a snippet of my configuration:
"devDependencies": {
// List of dependencies
},
"dependencies": {
// List of dependencies
}
Error log:
Uncaught TypeError: options.domAPI is not a function
// Error details
This issue has been quite frustrating as I haven't been able to find any relevant solutions. Any assistance on this matter would be highly appreciated.