angular-docs-cn/packages/compiler/test/render3
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
..
README.md feat(compiler): implement "enableIvy" compiler option (#21427) 2018-01-18 18:22:44 -06:00
mock_compile.ts refactor(compiler): Drop support for the deprecated `<template>`. Use `<ng-template>` instead (#22783) 2018-03-15 14:52:22 -07:00
mock_compiler_spec.ts refactor(ivy): validate that identifier identity in emitted output (#21877) 2018-02-09 13:06:10 -08:00
r3_back_patch_compiler_spec.ts feat(ivy): produce Renderer2 back-patching and factories. (#22506) 2018-03-08 22:39:07 -08:00
r3_compiler_compliance_spec.ts feat(ivy): support host attribute and property bindings (#22334) 2018-03-08 10:57:30 -08:00
r3_module_factory_compiler_spec.ts feat(ivy): produce Renderer2 back-patching and factories. (#22506) 2018-03-08 22:39:07 -08:00
r3_view_compiler_spec.ts feat(ivy): generate pipe references and definitions (#22034) 2018-02-20 13:58:03 -08:00

README.md

Tests in this directory are excluded from running in the browser and only run in node.