We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Example: fixed-sticky
Use imports-loader.
npm install --save-dev imports-loader
On your scripts.js webpack configuration add the following line to the loaders array: `{ test: /.js$/, loader: 'imports' }``
Whenever you require('fixed-sticky') just replace it by require('imports?jQuery=jquery!fixed-sticky').
require('imports?jQuery=jquery!fixed-sticky')
script(src="https://ajax.googleapis.com/ajax/libs/jquery/{{JQUERY_VERSION}}/jquery.min.js") script. window.jQuery || document.write('<script src="js/vendor.jquery-{{JQUERY_VERSION}}.min.js"><\/script>')
Note: replace {{JQUERY_VERSION}} to whatever version you're using.
{{JQUERY_VERSION}}
externals: { "jquery": "jQuery" }
Links:
gulp-a11y helps get an accessibility audit of pages gulp-accessibility helps display the results nicely.
Install those two and have a gulp task run them both:
gulp.src(srcFiles) .pipe($.a11y()) .pipe($.a11y.reporter()) .pipe($.accessibility());
We had this in the skeleton but it was much too heavy as it requires phantomJS