How to use vue router and vuex inside custom element from root?
Version
3.2.21
Reproduction link
Steps to reproduce
Inside my demo project you can see nested custom elements where I add styles recursively.
What is expected?
I need to connect vuex & vue router in root custom element (c.e) inside main.js
then use from child c.e. How I can do this correctly?
What is actually happening?
import { defineCustomElement } from "./defineCustomElementWithStyles";
import App from "./App.ce.vue";
customElements.define("app-root", defineCustomElement(App));
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.