随笔分类 - 🔥Vue3
摘要:
前言 VuePress 主题默认有 <CodeGroup> 组件用于切换代码很方便。 如图所示: 痛点 使用 VitePress 后,官方没有提供 <CodeGroup> 组件类似的方案。 参考 VuePress 源码 https://github.com/vuejs/vuepress/blob/3
阅读全文

摘要:https://element-plus.gitee.io/zh-CN/component/icon.html#%E4%BD%BF%E7%94%A8%E5%9B%BE%E6%A0%87 仓库地址:https://github.com/Megasu/element-plus-icons 注册所有图标
阅读全文
摘要:参考地址 配置源码地址:https://github.com/arco-design/arco-design-pro-vue/blob/main/arco-design-pro-vite/ 按钮组件 源码地址:https://github.com/arco-design/arco-design-vu
阅读全文
摘要:Suspense Suspense是 Vue3.x 中新增的特性, 那它有什么用呢?别急,我们通过 Vue2.x 中的一些场景来认识它的作用。 Vue2.x 中应该经常遇到这样的场景: <template> <div> <div v-if="!loading"> ... </div> <div v-
阅读全文
摘要:
# Vue3 开发调试工具安装教程  ## 5个步骤 第一步:点击浏览器右上角,更多工具 – 扩展程序 
摘要:Vue3 值得注意的新特性 Vue3 新特性介绍 片段 组合式 API 单文件组件组合式 API 语法糖 (<script setup>) Teleport Suspense 实验性 SFC <style scoped> 现在可以包含全局规则或只针对插槽内容的规则 单文件组件状态驱动的 CSS 变量
阅读全文
摘要:
【Bug记录】[@vue/compiler-sfc] defineProps is a compiler macro and no longer needs to be imported. Vue3项目遇到编译警告 或 错误翻译 英文:[@vue/compiler-sfc] 翻译:Vue 单文件组件
阅读全文
![【Bug记录】[@vue/compiler-sfc] `defineProps` is a compiler macro and no longer needs to be imported.](https://img2022.cnblogs.com/blog/684615/202202/684615-20220214161630589-1981666807.png)