wc-to-aem
v0.0.4
Published
CLI to Transpile Web Components to Aem components
Downloads
2
Readme
Web Component to AEM Component Transpiler
Getting Started
To start using this project:
Generate your custom elements manifest using @custom-elements-manifest/analyzer. To make the most of this CLI, make sure to use JSDocs: https://custom-elements-manifest.open-wc.org/analyzer/getting-started/#supported-jsdoc
Then run:
npx wc-to-aem ./custom-elements.json
and follow the command prompt
Supported types
In order for the script to understand what xml to add to the dialog, it pulls the attribute type information from the custom elements manifest. The types currently supported include:
- string
- boolean
- number
- array
References
This project was inspired by webcomponent-to-aemcomponent