Aliakbar sultani
Aliakbar sultani

Reputation: 38

How to include 3rd parthy library in webpack

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

Answers (1)

Ematipico
Ematipico

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

And you do

import MyLibrary from 'script-loader!./path/to/3rd/party/library.min'

Upvotes: 1

Related Questions