Skip to content

VueJs Web Component build #95

Open
@ndoulgeridis

Description

@ndoulgeridis

I am trying to build a chart using VueJS web component:

vue-cli-service build --target wc --inline-vue --name my-app ./src/App.vue --env=production

This command produces the following files on dist:

image

However when I see dist.html on the browser I get:

image

I suspect the problem is with shadow dom:

image

When it tries to get the element to render the chart it fails due to shadow dom VueJS WC build produces.

When run yarn serve app is working fine but does not produce shadow DOM:

image

Do you think shadow DOM bugs fusion charts? Is there a workaround? Do I miss something there?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions