Hello!
I tried to put the code into my site. I ran npm install. It mentioned some packages are out of date. But I installed npm a month ago.
When I included line
var ElementQueries = require('css-element-queries-1.2.1/src/ElementQueries');
-- I encountered an error. So I had to change it to
var ElementQueries = require(['css-element-queries-1.2.1/src/ElementQueries']);
After that I experience the following ERROR:
Uncaught TypeError: ElementQueries.listen is not a function
Hello! I tried to put the code into my site. I ran npm install. It mentioned some packages are out of date. But I installed npm a month ago. When I included line var ElementQueries = require('css-element-queries-1.2.1/src/ElementQueries');
-- I encountered an error. So I had to change it to var ElementQueries = require(['css-element-queries-1.2.1/src/ElementQueries']);
After that I experience the following ERROR:
Uncaught TypeError: ElementQueries.listen is not a function