Hi,
When replacing @Theme(value=Lumo.class, …) by @Theme(value=Material.class, …) I get a whole bunch of webpack errors.
It starts with the following:
Failed to find the following imports in the `node_modules` tree:
- @vaadin/vaadin-material-styles/typography.js
- @vaadin/vaadin-material-styles/color.js
After that, I get a whole bunch of ERROR messages all looking like this:
2019-10-29 01:11:38.437 ERROR 46192 --- [ webpack]
dev-webpack : ERROR in ../node_modules/@vaadin/vaadin-app-layout/theme/material/vaadin-drawer-toggle-styles.js
2019-10-29 01:11:38.437 ERROR 46192 --- [ webpack]
dev-webpack : Module not found: Error: Can't resolve '@vaadin/vaadin-material-styles/color.js' in '/repo/my-webapp/node_modules/@vaadin/vaadin-app-layout/theme/material'
2019-10-29 01:11:38.437 ERROR 46192 --- [ webpack]
dev-webpack : @ ../node_modules/@vaadin/vaadin-app-layout/theme/material/vaadin-drawer-toggle-styles.js 14:0-49
2019-10-29 01:11:38.437 ERROR 46192 --- [ webpack]
dev-webpack : @ ../node_modules/@vaadin/vaadin-app-layout/theme/material/vaadin-drawer-toggle.js
2019-10-29 01:11:38.437 ERROR 46192 --- [ webpack]
dev-webpack : @ ../target/frontend/generated-flow-imports.js
Any idea what going wrong?
Thank you!
Kristof.