Replies: 2 comments
-
We're working on updating the decorator section of the doc but we have some information on this in our Lit 3 migration doc here https://lit.dev/docs/releases/upgrade/#standard-decorator-migration You're likely missing the You also don't need the {
"assumptions": {
"setPublicClassFields": true
}
} part of the babel config anymore. Here's a minimal working example: https://stackblitz.com/edit/stackblitz-starters-ssueaq?file=index.js,babel.config.json |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you! yes, adding the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying to upgrade a lit2 project to lit3, I am unable to get the decorators to work.
I went back to basic, using https://github.com/lit/lit-element-starter-js
babel.config.json
could the
lit-element-starter-js
be expanded to show how that works?Thank you
Beta Was this translation helpful? Give feedback.
All reactions