Add documentation how to use the custom element in other projects
See original GitHub issue@karol-f Hello, maybe I am just dumb, but I didnt get the cutom element working in another project. There are questions wich are still unanswered:
- whats the best way to setup a custom element in a singe project?
vue init webpack
and then put the component inside the src folder or how?
-
how to build the custom element that it is ready to use in other projects?
-
after 2, if I installed the element with npm, how to import it or is the
<my-element>
- tag enough?
sorry if my question is at the wrong pace but I read the whole readme and locked at the demo page…
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:26 (13 by maintainers)
Top Results From Across the Web
Using custom elements - Web Components | MDN
Customized built-in elements inherit from basic HTML elements. To create one of these, you have to specify which element they extend (as implied ......
Read more >Custom Element Best Practices - web.dev
Custom elements let you construct your own HTML tags. This checklist covers best practices to help you build high quality elements.
Read more >Getting Started - Custom Elements Manifest
Support for other web component libraries can be done via custom plugins, feel free to create your own for your favourite libraries. Documenting...
Read more >Document your elements - Polymer Project
You can provide API docs for Polymer custom elements by writing documentation comments in your source files. Using the iron-component-pages element, ...
Read more >Custom elements - The Modern JavaScript Tutorial
Custom elements · Autonomous custom elements – “all-new” elements, extending the abstract HTMLElement class. · Customized built-in elements – ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
in html, attributes must use a hypen instead of camelCase or? so useSpectrumPicker -> use-spectrum-picker
@BennyAlex BTW we have Github profile photo probably taken in the same place - what a coincidence 😃