navattic-flow

Navattic flow widget

Usage no npm install needed!

<script type="module">
  import navatticFlow from 'https://cdn.skypack.dev/navattic-flow';
</script>

README

Navattic Flow Widget

⚙️ Installation and setup for running the example

cd navattic-flow-widget
yarn link
yarn install
cd node_modules/react
yarn link
cd ../../node_modules/react-dom
yarn link
cd example
yarn link navattic-flow-widget
yarn link react
yarn link react-dom

Dev

yarn dev

Will serve the file at http://localhost:8000/navattic.js

Deploy

Make sure you have the navattic-cdn repository downloaded on the same directory level.

yarn deploy

Will serve the file at https://js.navattic.com/navattic.js