Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.0 没有把antv的样式打包进来 #67

Closed
wanliyunyan opened this issue Feb 8, 2022 · 0 comments
Closed

2.0.0 没有把antv的样式打包进来 #67

wanliyunyan opened this issue Feb 8, 2022 · 0 comments

Comments

@wanliyunyan
Copy link

我不知道是我自己的问题还是普遍的问题,当我使用1.0.1版本的时候是有样式的

styleImport({
    libs: [
      {
        libraryName: "ant-design-vue",
        esModule: true,
        resolveStyle: (name) => {
          return `ant-design-vue/es/${name}/style/index`;
        },
      },
    ],
  });

当我今天更新到2.0.0版本的时候,

    css: {
      preprocessorOptions: {
        less: {
          javascriptEnabled: true,
        },
      },
    },
    plugins: [
       vue(),
       vueJsx(),
       createStyleImportPlugin({
         resolves: [AndDesignVueResolve()],
       }),
    ],

ant-design-vue 就没有被打包进来,我是否需要提供一个仓库来重现这个issue呢???

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

No branches or pull requests

1 participant