Skip to content

Best method for including dependancies like jQuery? #17

Answered by hayes0724
nitaic asked this question in Q&A
Discussion options

You must be logged in to vote

There are several methods I usually install via npm and add to the top of my theme.js file:

import jquery from 'jquery';
window.$ = window.jQuery = $

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hayes0724
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #17 on December 10, 2020 15:11.