Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo I believe in documentation #1370

Closed
jonellwood opened this issue Sep 26, 2024 · 0 comments · Fixed by #1412
Closed

typo I believe in documentation #1370

jonellwood opened this issue Sep 26, 2024 · 0 comments · Fixed by #1412

Comments

@jonellwood
Copy link

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.

e111077 added a commit that referenced this issue Apr 1, 2025
@e111077 e111077 closed this as completed in 59af258 Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant