随笔分类 -  Vue

摘要:vite 为 .jsx 和 .tsx 文件提供开箱即用支持。 如果不是在 react 中使用 jsx,对于报错: React is not defined 需要在 vite.config.js 文件中添加如下配置: export default { esbuild: { jsxFactory: 'h 阅读全文
posted @ 2021-05-19 00:39 夏目有三三 阅读(5621) 评论(4) 推荐(1) 编辑
摘要:1 <el-form class="user-form" ref="ruleFormRef" :model="userForm" status-icon :rules="rules"> 2 <el-form-item label="原密码" prop="oldPass"> 3 <el-input t 阅读全文
posted @ 2020-06-05 11:44 夏目有三三 阅读(3080) 评论(0) 推荐(0) 编辑
摘要:在开发vue ssr应用时, yarn build yarn start 之后启动正常: info Server running at: http://0.0.0.0:6606 在访问页面时,发现页面降级到SPA,服务端报错: debug Server rendering encountered a 阅读全文
posted @ 2020-02-07 19:37 夏目有三三 阅读(2470) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示