我已经为我的angular2组件开发了一个解析器,它将它们呈现在我的HTML文件中。 到目前为止,我能够使它们在HTML作为 import {Component} from 'angular2/core';
import {NgSwitch, NgSwitchWhen, NgSwitchDefault,NgFor} from 'angular2/common';
import {Http, R
我使用angular2-universal进行服务器端呈现并生成静态HTML。 到目前为止我的静态HTML生成&组件也呈现。 但在我的浏览器控制台显示此错误。 EXCEPTION: The selector "app" did not match any elements
我已经使用以下用于该目的的代码: 1.index.html <!doctype html>
<html lang="en