sea

Results 154 comments of sea

**StyleLint format css、scss、 of .vue file** **Example:** > **package.json** > devDependencies `stylelint` `postcss` `postcss-html` `stylelint-config-standard-scss` `stylelint-config-recommended-vue` > **./vscode/extensions.json** ``` { "recommendations": [ "stylelint.vscode-stylelint" ... ] } ``` > **./vscode/setting.json** ```...

.npmrc ``` shamefully-hoist=true strict-peer-dependencies=false ```

> https://github.com/antfu/vscode-goto-alias ![image](https://github.com/antfu/unplugin-vue-components/assets/45450994/7b225312-2700-49f5-8e85-5be98507767c)

> > https://github.com/antfu/vscode-goto-alias > > ![image](https://user-images.githubusercontent.com/45450994/238221441-7b225312-2700-49f5-8e85-5be98507767c.png) Must disabled @builtin typescript in workspace https://vuejs.org/guide/typescript/overview.html#takeover-mode ![image](https://github.com/antfu/unplugin-vue-components/assets/45450994/68863a69-6d95-4572-846c-b1feecc77282)

> 这里是不是可以根据is-active类来判断[ns.is('active', modelValue === actualValue)](https://github.com/element-plus/element-plus/blob/42aa1724eab07de216d39f6f48da08c646ca75fd/packages/components/radio/src/radio-button.vue#L5) el-radio组件中这个位置是[ns.is('checked', modelValue === actualValue),](https://github.com/element-plus/element-plus/blob/42aa1724eab07de216d39f6f48da08c646ca75fd/packages/components/radio/src/radio.vue#L8) 我不确定那种更改方案最好

> This is along the right lines. I'd like to throw out an idea to fine-tune it. > > ```css-scss > @include b(radio-button) { > @include when(active) { > //...

There is indeed this problem. ![screenshots](https://github.com/element-plus/element-plus/assets/45450994/4fb80f71-edec-49f5-bf05-bbc4c2b8b9ef)

https://cn.vuejs.org/guide/built-ins/transition.html#the-transition-component https://github.com/element-plus/element-plus/blob/29ae802fae7b7443004b588dfa84a923f64348a2/packages/components/tooltip/src/content.vue#L8 这在ui库层面是一个不好处理的问题 最好的建议是:不要在插槽内如此使用