conanliuhuan
conanliuhuan
使用的时候并不需要打包,希望可以浏览器直接用script标签引用。请问是否可以提供这样的做法?
Try “malihu-custom-scrollbar-plugin”: https://github.com/malihu/malihu-custom-scrollbar-plugin
> how to use scss/sass? > > I looked at the example but didn't see how to use it SASS我没有使用,但我使用了Less。原理一样,你可以参考一下: 1. 在html中全局引入Less:`` 2. 配置vue3-sfc-loader的参数,addStyle时进行less转换: ``` const options = { moduleCache:...
确实很想要这样的功能!!! 有的时候在使用别的原生JS工具时,别人写的东西要求渲染成element才能用(例如开发editor.js的插件)。这种时候要想vue配合起来,只能考虑defineCustomElement。 然而vue3的这个功能总是会有一个shadow-root,导致全局的样式根本无法对vue的渲染结果起作用。这就非常尴尬了。
> Any update on this? I want the user to be able to change the styling of my custom element with their CSS, but with shadow DOM it doesn't seem...