Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/baboon-king/dynamic-component-vue
https://github.com/baboon-king/dynamic-component-vue
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/baboon-king/dynamic-component-vue
- Owner: baboon-king
- License: mit
- Created: 2023-12-18T12:41:49.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-18T12:42:11.000Z (about 1 year ago)
- Last Synced: 2025-01-23T03:11:31.792Z (8 days ago)
- Language: Vue
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dynamic-component-vue
#### 介绍
为了可以通过异步请求加载 `Vue` 组件中的 `template` 部分,就写了一个动态组件来实现该需求
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
#### 使用说明
1. xxxx
#### 参考资料
- [VueJS 如何编译服务器端远程模板【异步组件+简单方法】](https://segmentfault.com/a/1190000010892015)
- [VueJS 如何编译服务器端远程模板【异步组件+简单方法】原始出处 (英文)](https://forum.vuejs.org/t/innerhtml-compilation-vue-2/8780/6)
- [vue 动态组件传参](https://github.com/huangshuwei/blog/issues/28)
- [Vue 官方文档 动态组件 is 用法](https://cn.vuejs.org/v2/api/#is)
- [传递 props 给动态组件](https://codesandbox.io/s/focused-cherry-8wj6l?file=/src/components/test-comp.vue)
- [vue 中如何解析模板](https://www.jianshu.com/p/1b4af57ad754)主要参考
- [VueJS 如何编译服务器端远程模板【异步组件+简单方法】](https://segmentfault.com/a/1190000010892015)
- [vue 动态组件传参](https://github.com/huangshuwei/blog/issues/28)