/golden-layout-ng-app

Example application demonstrating using GoldenLayout in Angular

Primary LanguageTypeScriptMIT LicenseMIT

GoldenLayoutNgApp

This application demonstrates how to use Golden Layout inside an Angular application.

To run the application:

  • Clone the repository into a directory on your computer.
  • From within that directory, run the script npm run build to build the application.
  • Run the script npm run start to start the application.
  • In a web browser, start the application with the URL:
    http://localhost:4200.

This uses a technique written up by Carlos Roso: Angular Pro Tip: How to dynamically create components in <body>

Thanks also to ttquang1063750 whose post on Stack Overflow pointed me in this direction: https://stackoverflow.com/questions/64478364/load-component-to-html-element

The app and the code in this repository is published under a MIT license.