# 🇬🇧 LitElement - Update with 2.0.0-rc.2 version
Previously (read it before 🙏)
Friday, we can read on the Polymer Blog that a release candidate (2.0.0-rc.2
) of LitElement was available https://www.polymer-project.org/blog/2019-01-11-lit-element-rc (opens new window).
So this morning I updated my previous posts (as well as the sample repository - all the branches)
The updates are simple:
First, I remove the node_modules
directory, and then I update the package.json
file like that:
{
"dependencies": {
"@webcomponents/webcomponentsjs": "^2.2.3",
"lit-element": "^2.0.0-rc.2"
}
}
After that, I type the yarn
command at the root of the project to fetch all dependencies.
Finally, for each component, change this line:
import {LitElement, html} from '@polymer/lit-element'
by this:
import {LitElement, html} from 'lit-element'
That's all. Now I'm ready to write a new blog post about LitElement.
Last Articles
- 🇫🇷 Type Result en Kotlin | 2020-10-31 | Kotlin
- 🇫🇷 Type Result en Kotlin | 2020-10-31 | Kotlin
- 🇬🇧 Every GitLab Page deserves a real CI/CD | 2020-07-23 | GitLab CI
- 🇫🇷 Lit-Element, commencer doucement | 2020-07-20 | WebComponent
- 🇬🇧 Build quickly and host easily your Docker images with GitLab and GitLab CI | 2020-06-02 | GitLab CI
- 🇬🇧 Deploy quickly on Clever Cloud with GitLab CI | 2020-05-31 | GitLab CI
- 🇫🇷 Borg Collective, mes jouets pour apprendre Knative | 2020-05-30 | Knative
- 🇬🇧 Borg Collective, Toys to learn Knative | 2020-05-30 | Knative
- 🇫🇷 M5Stack, une petit device IOT bien sympathique, programmable en Python | 2020-05-09 | IOT
- 🇫🇷 Knative, l'outil qui rend Kubernetes sympathique | 2020-05-02 | kubernetes