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

Open
jonellwood opened this issue Sep 26, 2024 · 0 comments
Open

typo I believe in documentation #1370

jonellwood opened this issue Sep 26, 2024 · 0 comments

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant