@mill3-packages/barba-scripts

0.2.2 • Public • Published

NPM version Dependencies

MILL3-packages : @barba/scripts

Add new scripts, both external and inlined, during Barba.js transition. A must use if you use Gravity Form in your Wordpress project.

Install

Using npm:

npm install --save @mill3-packages/barba-scripts

or using yarn:

yarn add @mill3-packages/barba-scripts

How to use

First, import script in your file where you also init Barba.

import scripts from "@mill3-packages/barba-scripts";

Then just before your main Barba init call, use() this script.

barba.use(scripts);
barba.init();

Package Sidebar

Install

npm i @mill3-packages/barba-scripts

Weekly Downloads

3

Version

0.2.2

License

MIT

Unpacked Size

14.6 kB

Total Files

7

Last publish

Collaborators

  • thetoine
  • ebhoren