You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: