vue-render-demo 使用slot和h函数(createElement方法)执行render方法渲染元素 环境: vue-cli4 vue 2.6+ 参考简书文章:Vue使用slot和h函数执行render方法渲染元素 Project setup yarn install Compiles and hot-reloads for development yarn serve Compiles and minifies for production yarn build Lints and fixes files yarn lint Customize configuration See Configuration Reference.