Element ui 使用 Tree 树形控件
2024-08-24 06:18:22
使用树形控件需要映入 jsx才能运行链接:https://github.com/vuejs/babel-plugin-transform-vue-jsx#usage
npm install\
babel-plugin-syntax-jsx\
babel-plugin-transform-vue-jsx\
babel-helper-vue-jsx-merge-props\
babel-preset-es2015\
--save-dev
在你的 .babelrc: 加入以下代码 {
"presets": ["es2015"],
"plugins": ["transform-vue-jsx"]
}
最新文章
- 使用GDB 追踪依赖poco的so程序,core dump文件分析.
- Shell 编程基础之 &;&; 与 ||
- python pycurl模块
- ALV用例大全
- 四、CCSprite
- Java程序员必备的 15框开发工具
- (转)ReSharper 配置及用法
- Python作用域
- boost库之graph入门
- 关于变量 Objects...objects 和Object[] objects的区别
- pip install 提示";no previously-included directories found matching";及";no previously-included files matching found anywhere in distribution";,且偶发无法关联安装 PyPI 库的故障
- SpringBoot 同时整合thymeleaf html、vue html和jsp
- nw.js中用sqlite3
- 搭建正则开源工具Regexper
- Program License Agreement updated/The updated Apple Developer Program License Agreement needs to be reviewed.
- PHP--traits
- cocos2dx - JS - 碰撞检测
- 【Java】IO Stream详细解读
- 混淆和加密.NET开发工具
- Angular 4 重定向路由