-
Notifications
You must be signed in to change notification settings - Fork 33
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
The main 'lit-element' module entrypoint is deprecated. #95
Comments
How do we do this? |
I am in no way an expert on ts, js or all these magic things. There seems to be some changes that probably needs to be taken care of. https://lit.dev/docs/v2/releases/upgrade/ If anyone feel up for it, please create a PR |
What about updating the components to the last version ? |
Created a PR with the fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.
$ grep -R lit *
editor.ts:import { customElement, html } from "lit-element";
flower-card.ts:import { CSSResult, HTMLTemplateResult, LitElement, customElement, html, property } from 'lit-element';
styles.ts:import { css } from 'lit';
utils/attributes.ts:import { TemplateResult, html } from "lit-element";
utils/attributes.ts:import { unsafeHTML } from 'lit/directives/unsafe-html.js';
The text was updated successfully, but these errors were encountered: