The Lit decorators doesn't work after the build step
abdonrd opened this issue · comments
Abdón Rodríguez commented
Describe the bug
Right now, when build the project (npm run build
), the output doesn't work.
Seems like the this.main
is undefined
:
pwa-lit-template/src/components/app-index.ts
Lines 101 to 103 in 4993ec8
From the @query
decorator:
pwa-lit-template/src/components/app-index.ts
Lines 18 to 19 in 4993ec8
To reproduce
Just build and run the project.
Expected behavior
Working as always.