Responsive
Hi there,
I am wanting to take advantage of October's AJAX framework and {% framework extras %}
, partularly for 3rd party plugins. But jquery doesn't seem to be installed in the theme. I have installed jquery via npm and required it in the app.js
file. Is this the best way to include jquery?
window.$ = window.jQuery = require('jquery');
import navigation from './navigation';
import scroll from './scroll';
import carousel from './carousel';
import validation from './validation';
import 'alpinejs';
(function() {
const scripts = [
navigation,
scroll,
carousel,
validation
];
scripts.forEach(script => script.init());
})();
Thank you so much for your help.
Cheers,
Cy
1-3 of 3