Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

麻烦支持一下arco-design/web-vue #65

Open
lnool opened this issue Dec 30, 2021 · 3 comments
Open

麻烦支持一下arco-design/web-vue #65

lnool opened this issue Dec 30, 2021 · 3 comments

Comments

@lnool
Copy link

lnool commented Dec 30, 2021

No description provided.

@vortesnail
Copy link

+1

@eric-gitta-moore
Copy link

this's file.
in vite.config.js

createStyleImportPlugin({
      libs: [
        {
          libraryName: '@arco-design/web-vue',
          esModule: true,
          resolveStyle: (name) => {
            const exclude = ['menu-item']
            if (exclude.includes(name)) return ''
            // css
            return `@arco-design/web-vue/es/${name}/style/css.js`
          },
        },
      ],
    }),

@evanwu66
Copy link

evanwu66 commented Feb 3, 2024

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants