I know there is already an open request for this but there is no update or information ( see #2173 and #2174 ).
I am trying to create a Web Component using vue-material but I am having a problem once the component is built.
When I am in dev mode there is no problem, the CSS styles load correctly and everything works fine.
see here:
But once the component build (using this command vue-cli-service build --target wc --inline-vue --name dsd-planning-component),
I end up with a part of the CSS that doesn't apply correctly (especially with the DatePicker modal) the rest seems ok.
I have already tried to use vue-material but without success.
I followed the steps to install and use vue-material and I even forced the import of css in the style tag.
What's the problem
I know there is already an open request for this but there is no update or information ( see #2173 and #2174 ). I am trying to create a Web Component using vue-material but I am having a problem once the component is built.
When I am in dev mode there is no problem, the CSS styles load correctly and everything works fine.
see here:![2022-06-20 15_44_20-dsd-planning](https://user-images.githubusercontent.com/35901350/174615297-c30fd523-2c14-4b8b-a725-3e15a94c1f92.png)
But once the component build (using this command![2022-06-20 15_41_08-dsd-planning-component demo](https://user-images.githubusercontent.com/35901350/174615078-d6fff4f8-9716-4d30-bbc6-077294520a33.png)
vue-cli-service build --target wc --inline-vue --name dsd-planning-component
), I end up with a part of the CSS that doesn't apply correctly (especially with the DatePicker modal) the rest seems ok.I have already tried to use vue-material but without success. I followed the steps to install and use vue-material and I even forced the import of css in the style tag.
Steps to reproduce
Which browser?
"vue": "^2.6.14",
"vue-material": "^1.0.0-beta-15", "typescript": "~4.5.5", And I'm on ChromeWhat is expected?
I'd like the component once built to work exactly as in dev mode.
What is actually happening?
Using Vuetify, I know that the problem was related to encapsulating the component in a Shadow Dom and that the Vuetify CSS styles were in the
and not in the