Home

Issue: 2197

how import jquery plugins in nuxt js

[issue link]

i put a jquery plugins (SuperSlide.2.1.1.js) in to the files:
assets/js/SuperSlide.2.1.1.js,

but i want to import this jquery plugins in components files by:
import SuperSlide from ‘~assets/js/SuperSlide.2.1.1.js’

The log:“To install them, you can run: npm install --save ~assets/js/SuperSlide.2.1.1.js …”

Remarks:I can use “jquery”, “$”.

how correct to import jquery plugins in NuxtJs thanks

This question is available on Nuxt.js community (#c1938)