[Fixed] How to import webflow into Angular > 9

Issue

I tried to import a webflow generated single page into my angular app, which is going to be lazy loaded once visited in a subpage.

I’ve created a sub page, imported the html part of webflow in example-webflow.component.html and binded the css directly into the example-webflow.component.scss. I’ve tried to import the js in angular.json but didn’t seems to work.

Does somebody already did such import?

I saw it was working with angular <= 6 with this library freeformjs but doesn’t seems to work anymore

Solution

I still didn’t found any way of doing it so I’ve decided to :

  1. Import the webflow export into my angular assets folder
  2. Used the iframe to load the webflow component with src='/assets/webflow/index.html'

Leave a Reply

(*) Required, Your email will not be published