angular-docs-cn/modules
Victor Berchet 0ebd577db4 refactor(compiler): Drop support for the deprecated `<template>`. Use `<ng-template>` instead (#22783)
BREAKING CHANGE:

The `<template>` tag was deprecated in Angular v4 to avoid collisions (i.e. when
using Web Components).

This commit removes support for `<template>`. `<ng-template>` should be used
instead.

BEFORE:

    <!-- html template -->
    <template>some template content</template>

    # tsconfig.json
    {
      # ...
      "angularCompilerOptions": {
        # ...
        # This option is no more supported and will have no effect
        "enableLegacyTemplate": [true|false]
      }
    }

AFTER:

    <!-- html template -->
    <ng-template>some template content</ng-template>

PR Close #22783
2018-03-15 14:52:22 -07:00
..
angular1_router build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
benchmarks refactor(compiler): Drop support for the deprecated `<template>`. Use `<ng-template>` instead (#22783) 2018-03-15 14:52:22 -07:00
benchmarks_external refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
e2e_util build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
payload_tests/hello_world/ts docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
playground fix(core): remove core animation import symbols (#22692) 2018-03-14 12:23:51 -07:00
rollup-test build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
empty.ts refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
es6-subset.d.ts refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
system.d.ts refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
tsconfig.json build: remove references to `tsc-wrapped` (#19298) 2017-09-21 13:55:52 -07:00
types.d.ts refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00