<img src="https://single-spa.js.org/img/logo-white-bgblue.svg" width="50" height="50">
[![npm version](https://img.shields.io/npm/v/single-spa.svg?style=flat-square)](https://www.npmjs.org/package/single-spa)
[![Build Status](https://img.shields.io/travis/CanopyTax/single-spa/master.svg?style=flat-square)](https://travis-ci.org/CanopyTax/single-spa)
[![](https://data.jsdelivr.com/v1/package/npm/single-spa/badge)](https://www.jsdelivr.com/package/npm/single-spa)
# single-spa
[Join the chat on Slack](https://join.slack.com/t/single-spa/shared_invite/enQtMzIwMTcxNTU3ODQyLTM1Y2U1OWMzNTNjOWYyZDBlMDJhN2VkYzk3MDI2NzQ2Nzg0MzMzNjVhNWE2YjVhMTcxNjFkOWYzMjllMmUxMjk)
[Donate to this project](https://opencollective.com/single-spa)
## A javascript framework for front-end microservices
Build micro frontends that coexist and can ([but don't need to](https://single-spa.js.org/docs/faq.html#can-i-use-more-than-one-framework)) be written with their own framework. This allows you to:
- [Use multiple frameworks](/docs/single-spa-ecosystem.md#help-for-frameworks) on the same page [without refreshing the page](/docs/applications.md)
([React](https://github.com/CanopyTax/single-spa-react), [AngularJS](https://github.com/CanopyTax/single-spa-angular1), [Angular](https://github.com/CanopyTax/single-spa-angular2), [Ember](https://github.com/CanopyTax/single-spa-ember), or whatever you're using)
- Write new code, possibly with a new framework, without rewriting your existing app
- Lazy load code for improved initial load time.
## Documentation
You can find the single-spa documentation [on the website](https://single-spa.js.org/).
Check out the [Getting Started](https://single-spa.js.org/docs/getting-started-overview.html) page for a quick overview.
## Demo and examples
Please see the [examples page](https://single-spa.js.org/docs/examples.html) on the website.
## Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our
guidelines for [contributing](https://single-spa.js.org/docs/contributing-overview.html) on the [single-spa website](https://single-spa.js.org).
## Contributing
The main purpose of this repository is to continue to evolve single-spa, making it better and easier to use. Development of single-spa, and the [single-spa ecosystem](https://single-spa.js.org/docs/ecosystem.html) happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving single-spa.
### [Code of Conduct](https://single-spa.js.org/docs/code-of-conduct.html)
Single-spa has adopted a Code of Conduct that we expect project participants to adhere to. Please read [the full text](https://single-spa.js.org/docs/code-of-conduct.html) so that you can understand what actions will and will not be tolerated.
### [Contributing Guide](https://single-spa.js.org/docs/contributing-overview.html)
Read our [contributing guide](https://single-spa.js.org/docs/contributing-overview.html) to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to single-spa.
没有合适的资源?快使用搜索试试~ 我知道了~
single-spa-master.zip
共111个文件
js:83个
md:16个
json:3个
需积分: 0 1 下载量 171 浏览量
2020-04-22
16:21:25
上传
评论
收藏 232KB ZIP 举报
温馨提示
微前端是一种类似于微服务的架构,它将微服务的理念应用于浏览器端,即将 Web 应用由单一的单体应用转变为多个小型前端应用聚合为一的应用。各个前端应用还可以独立运行、独立开发、独立部署。
资源详情
资源评论
资源推荐
收起资源包目录
single-spa-master.zip (111个子文件)
.babelrc 281B
.DS_Store 8KB
.eslintrc 26B
.gitignore 106B
parcel-error-handlers.spec.js 10KB
happy-unload.spec.js 10KB
app-mounts-parcel.spec.js 7KB
reroute.js 6KB
navigate-to-url.spec.js 6KB
mount-parcel.js 6KB
navigation-events.js 6KB
apps.js 5KB
event-listeners.spec.js 5KB
single-spa-events-api.spec.js 5KB
mount-root-parcel.spec.js 4KB
error-handlers.spec.js 4KB
parcel-mounts-parcel.spec.js 4KB
multiple-lifecycle-functions.app.js 4KB
timeouts.js 3KB
load.js 3KB
register-application.spec.js 3KB
unload.js 3KB
lifecycle-props.spec.js 3KB
invalid-load-function.spec.js 3KB
unmount.js 2KB
invalid-unmount.spec.js 2KB
app-errors.js 2KB
mount.js 2KB
unmount-rejects.spec.js 2KB
invalid-unload.spec.js 2KB
unmount-times-out.spec.js 2KB
check-activity-functions.spec.js 2KB
mount-fails.spec.js 2KB
multiple-lifecycle-functions.spec.js 2KB
unmount-times-out-dies.spec.js 2KB
app.helpers.js 1KB
rollup.config.js 1KB
mount-rejects.spec.js 1KB
invalid-mount.spec.js 1KB
register-with-object.spec.js 1KB
jquery-support.js 1KB
returns-non-native-promise.spec.js 1KB
first-mount.spec.js 1KB
bootstrap-times-out-dies.spec.js 1KB
happy-basic.spec.js 1KB
bootstrap-times-out.spec.js 1KB
bootstrap-rejects.spec.js 1KB
invalid-bootstrap.spec.js 1KB
lifecycle.helpers.js 1KB
mount-times-out-dies.spec.js 1KB
mount-times-out.spec.js 1KB
bootstrap.js 1KB
invalid-no-unmount.spec.js 1KB
unregister-application.spec.js 1KB
invalid-no-bootstrap.spec.js 1KB
single-spa.js 1KB
invalid-no-mount.spec.js 1012B
empty-array-lifecycles.spec.js 934B
update.js 876B
invalid-unload.app.js 833B
happy-unload.app.js 786B
lifecycle-props.app.js 751B
returns-non-native-promise.app.js 733B
unmount-times-out.app.js 720B
unmount-times-out-dies.app.js 719B
mount-rejects.app.js 683B
bootstrap-times-out.app.js 658B
bootstrap-times-out-dies.app.js 657B
mount-times-out.app.js 643B
invalid-mount.app.js 643B
mount-times-out-dies.app.js 642B
mount-fails.app.js 627B
unmount-rejects.app.js 626B
bootstrap-rejects.app.js 621B
invalid-unmount.app.js 612B
app-names.spec.js 599B
start.js 570B
happy-basic.app.js 542B
invalid-bootstrap.app.js 526B
invalid-no-unmount.app.js 428B
prop.helpers.js 411B
devtools.js 409B
invalid-no-mount.app.js 327B
invalid-no-bootstrap.app.js 293B
find.js 262B
empty-array-lifecycles.app.js 81B
test-setup.js 35B
package.json 2KB
jasmine.json 220B
jest.config.json 137B
LICENSE 1KB
yarn.lock 212KB
README.md 3KB
README.md 1KB
bugs-or-questions.md 637B
root-application.md 377B
CODE_OF_CONDUCT.md 262B
CONTRIBUTING.md 228B
separating-applications.md 188B
README.md 174B
共 111 条
- 1
- 2
小前端学习机
- 粉丝: 0
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0