Skip to content

webfanzc/remote-dynamic-componet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

这是一个远程加载 vue 组件的使用示例
推荐使用 yarn 进行安装

如何使用

yarn preInstall
yarn build
yarn start
yarn playground

默认打包的是 customPack 目录下的 app.vue 你也可以在执行 yarn start 之后打开 http://localhost:3089 自己上传自己的 vue 文件来看实际效果 作为一个简单的远程加载单文件组件的简单思路演示 实际应用到业务时需要处理更多业务场景 比如各种资源的加载

About

动态加载远程资源

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors