Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.02 KB

README.md

File metadata and controls

20 lines (15 loc) · 1.02 KB

Angular - Webflow Demo

Simple hello world project created to demonstrate how we can mount an Angular app on top of a Webflow website.

References

Key info

  • The app is mounted inside an HTML Embed by simply adding the custom app tag <angular-webflow></angular-webflow>.
  • The app scripts are added to the page settings.
  • This app doesn't use Angular's built-in router.
  • The app inherits Webflow's CSS styles by default. The styles cascade follows this hirearchy:
    • Webflow's CSS styles.
      • Angular app global styles.
        • Angular app scoped styles.
  • If styles must be 100% decoupled from the Webflow project, we can mount the Angular app inside a Shadow DOM to avoid any CSS collisions.