Skip to content

how to use element-plus on vue #240

Open
@hyelimwu

Description

I just install element-plus on the host and the remote.
but the host doesn't show the view what I expected.

image
image

the remote's vite.config.ts
federation({ filename: "remoteEntry.js", name: "remote", exposes: { "./remote-app": "./src/App.vue", "./AppIndex": "./src/views/AppIndex.vue", }, remotes: {}, shared: { vue: { singleton: true, requiredVersion: dependencies.vue, }, 'element-plus': { singleton: true, requiredVersion: dependencies['element-plus'], }, }, }),

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