0👍
Below is the umd wrapper in the bundle file of vue-autoNumeric
:
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("AutoNumeric"));
else if(typeof define === 'function' && define.amd)
define("VueAutonumeric", ["AutoNumeric"], factory);
else if(typeof exports === 'object')
exports["VueAutonumeric"] = factory(require("AutoNumeric"));
else
root["VueAutonumeric"] = factory(root["AutoNumeric"]);
Obviously, vue-autoNumeric
is dependent on an module named ‘AutoNumeric’.
Maybe the vue-autoNumeric
shall change webpack config or package dependencies list as the Issue Comment said.
Or, you can add autonumeric
to your dependencies list and webpack will be able to find the missing module.
- [Vuejs]-Laravel VueJS – Cannot find element: #navigation
- [Vuejs]-Bugsnag catching errors in Vue Components
Source:stackexchange.com