2025年2月10日

slotted()、style module、global、style v-bind

摘要: <template> <slotComponent> <template v-slot><div class="demo">789</div></template> </slotComponent> <h1 class="colorBlue">ref变量直接在style中通过v-bind使用</h1 阅读全文

posted @ 2025-02-10 19:19 ChoZ 阅读(3) 评论(0) 推荐(0) 编辑

scope、:deep()

摘要: <script setup lang="ts"> import HelloWorld from './components/HelloWorld.vue' </script> <template> <div> <a href="https://vite.dev" target="_blank"> < 阅读全文

posted @ 2025-02-10 18:22 ChoZ 阅读(2) 评论(0) 推荐(0) 编辑

插件编写

摘要: // 使用页面 <template> <div></div> </template> <script setup lang='ts'> import { ref, reactive } from 'vue' const app = getCurrentInstance() app?.proxy?.$ 阅读全文

posted @ 2025-02-10 14:47 ChoZ 阅读(1) 评论(0) 推荐(0) 编辑

全局变量和函数定义和使用

摘要: import { createApp } from 'vue' import './style.css' import App from './App.vue' import SelfComponent from './study/selfComponent/component.vue' impor 阅读全文

posted @ 2025-02-10 12:19 ChoZ 阅读(7) 评论(0) 推荐(0) 编辑

hook封装成库上传到npm库中,下载自己用

摘要: https://www.bilibili.com/video/BV1dS4y1y7vd?spm_id_from=333.788.videopod.episodes&vd_source=ce8f93194a63c57cca08d7e9eb10d3e5&p=41 阅读全文

posted @ 2025-02-10 11:46 ChoZ 阅读(1) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示