Sample code showing how to create components dynamically in LWC OSS
Watch this Quick Take to learn about how to create components dynamically, the best practices to follow, and a few caveats.
Start simple by running yarn watch
(or npm run watch
, if you set up the project with npm
). This will start the project with a local development server.
The source files are located in the src
folder. All web components are within the src/modules
folder. The folder hierarchy also represents the naming structure of the web components.
Find more information on the main repo on GitHub.