vant icon indicating copy to clipboard operation
vant copied to clipboard

nuxt如何定制主题?

Open hopkinson opened this issue 7 years ago • 3 comments

IMPORTANT: Please use the following link to create a new issue. If your issue was not created using the app above, it will be closed immediately.

注意:请按照下面的模板来新建 issue,不规范的 issue 会被立即关闭.

What problem does this feature solve? 我参考了文档中提供的方法定制主题,但似乎不能实现。

Describe the solution you'd like 能不能通过babel-plugin-import方式引用,还是可以通过其他?

What does the proposed API look like?

hopkinson avatar Jan 11 '19 01:01 hopkinson

手动引入组件对应的 less 文件,然后覆盖变量就可以

chenjiahan avatar Jan 11 '19 12:01 chenjiahan

如果不是less而是scss呢,怎么定制主题

750973092 avatar Mar 08 '19 10:03 750973092

我最近也在用nuxt, 按需加载已搞定,请看我的文章 https://juejin.im/post/5e012778518825127f085da8

gp0320 avatar Dec 25 '19 16:12 gp0320