Reputation: 38
Does anyone knows how to add a 3rd party library into webpack and use it inside vue component script
I do not want to use npm
Upvotes: 0
Views: 111
Reputation: 1244
When I want to import 3rd party libraries inside my code, using webpack bundling system, I use script-loader. Here's the link
script-loader
And you do
import MyLibrary from 'script-loader!./path/to/3rd/party/library.min'
Upvotes: 1