universal

Universal javascript support for Angular

  • 所有者: angular/universal
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

CircleCI
Join the chat at https://gitter.im/angular/universal

Angular Universal

Angular Universal

Table of Contents


Introduction

The Angular Universal project is a community driven project to expand on the core APIs from Angular (platform-server) to enable developers to do server side rendering of Angular applications in a variety of scenarios.

This repository will host the various tools like engines to integrate with various backends(NodeJS, ASP.NET etc.) and also extra modules and examples to help you started with server side rendering.

The Universal project is driven by community contributions. Please send us your Pull Requests!

Getting Started

Angular Universal Guide

Version 8

Follow this upgrade guide if you are upgrading an exsiting Universal project to Angular version 8 - Guide

Packages

The packages from this repo are published as scoped packages under @nguniversal

Universal "Gotchas"

Moved to /docs/gotchas.md

Roadmap

Completed

  • Integrate the platform API into core
  • Support Title and Meta services on the server
  • Develop Express, ASP.NET Core, Hapi engines
  • Angular CLI support for Universal
  • Provide a DOM implementation on the server
  • Hooks in renderModule* to do stuff just before rendering to string
  • Generic state transfer API in the platform
  • Http Transfer State Module that uses HTTP interceptors and state transfer API
  • Material 2 works on Universal
  • Write documentation for core API
  • Support AppShell use cases
  • Development server/watch mode builder with livereload for CLI

In Progress

  • Static site rendering

Planning

  • Full client rehydration strategy that reuses DOM elements/CSS rendered on the server
  • Better internal performance and stress tests
  • Make it easier to write unit tests for Universal components
  • Node.js bridge protocol to communicate with different language backends - Django, Go, PHP etc.

Preboot

Control server-rendered page and transfer state before client-side web app loads to the client-side-app. Repo

What's in a name?

We believe that using the word "universal" is correct when referring to a JavaScript Application that runs in more environments than the browser. (inspired by Universal JavaScript)

Universal Team

License

MIT License

主要指標

概覽
名稱與所有者angular/universal
主編程語言TypeScript
編程語言TypeScript (語言數: 6)
平台
許可證MIT License
所有者活动
創建於2015-06-24 01:07:44
推送於2023-11-28 16:08:35
最后一次提交
發布數137
最新版本名稱16.2.0 (發布於 )
第一版名稱5.0.0-beta.8 (發布於 )
用户参与
星數4k
關注者數140
派生數482
提交數3.2k
已啟用問題?
問題數1332
打開的問題數0
拉請求數1567
打開的拉請求數0
關閉的拉請求數281
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?