Skip to content Skip to sidebar Skip to footer

How To Import Tippy.js Into An Html Page With Webpack 4?

Per the tippy.js git hub page I installed it with npm: npm i tippy.js Now I have a .js source file that's used for a webpack 4 html page that gets output to my ./dist folder, but

Solution 1:

Okay I found it here

import tippy from'tippy.js'

and for CSS it's

import'tippy.js/dist/tippy.css'

Post a Comment for "How To Import Tippy.js Into An Html Page With Webpack 4?"