Closed
Description
At https://lit.dev/docs/tools/adding-lit/
The instructions read :
You can create a new element anywhere in your project's sources:
lib/components/my-element.ts
However in the next step in Plain HTML it says to import the file using:
<script type="module" src="/lib/components/my-elements.js"> <my-element></my-element>
Wouldn't it be:
<script type="module" src="/lib/components/my-element.js"> <my-element></my-element>
without the s on the end of the file name before the file extension?
I wanted to do a pull request to submit this, but was not sure how exactly to do that. Hope this is the proper forum and method for this.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
✅ Done