Skip to content

typo I believe in documentation #1370

Closed
@jonellwood

Description

@jonellwood

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions