Hi Nathan, great plugin. This is exactly what I'm looking for, widow adjustment that works on both load and resize, however I have some issues making up and running.
1) I've installed the plugin via npm i widowtamer-npm --save.
2) I've made an import via import 'widowtamer-npm'; where I've successfully imported other packages.
3) In the other file where I do all the JS logic I've typed:
Hi Nathan, great plugin. This is exactly what I'm looking for, widow adjustment that works on both
load
andresize
, however I have some issues making up and running.1) I've installed the plugin via
npm i widowtamer-npm --save
.2) I've made an import via
import 'widowtamer-npm';
where I've successfully imported other packages.3) In the other file where I do all the JS logic I've typed:
Unfortunately as soon as I refresh the page, console gives me
ReferenceError: wt is not defined
, pointing towt.fix(
line.I thought that maybe assigning to window.wt would fix it.
But then when I do
npm run dev
I get:What am I doing wrong?