1.0.0 • Published 10 months ago
@criclabs/belo-webflow v1.0.0
Below Webflow
Usage
- Include following script tag to page head in the site setting or specific page.
- Update
version
of the module.
<script
defer
src="https://cdn.jsdelivr.net/npm/@criclabs/belo-webflow@{version}/dist/belo-webflow.js"
></script>
Local Development
The following instructions for setting up a local development environment allow you to develop the web component locally and see the changes you make reflected on the Webflow site.
Prerequisites
- Install ngrok on your local machine.
- Sign in to ngrok and configure your authentication token on your machine.
ngrok config add-authtoken YOUR-AUTH-TOKRN
Setup Local Development
- Run the ngrok's file server with following command:
ngrok http file://$PWD
- Get the public URL from the ngrok console and visit the URL from your browser then click on "Visit Site".
- On the WebFlow's custom code setting, comment out the script tag of the original module and add the module you are working on.
<!-- <script defer src="ORIGINAL_MODULE_URL"></script> -->
<script defer src="NGROK_PUBLIC_URL/dist/belo-webflow.js"></script>
1.0.0
10 months ago