我看到这个问题:How to use Electron's <webview> inside Angular2 app?
\n\n它让我克服了最初的错误,但现在我看到了
\n\nzone.js?1478729974810:355 Unhandled Promise rejection: Template parse errors:\n\'webview\' is not a known element:\n1. If \'webview\' is an Angular component, then verify that it is part of this module.\n2. If \'webview\' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the \'@NgModule.schemas\' of this component to suppress this message. ("url" [src]="paper.url | path" [original-size]="false" [show-all]="true"></pdf-viewer-->\n [ERROR ->]<webview id="inlinePaper" attr.src="{{paper.url | path}}" disablewebsecurity></webview>\n </div"): PaperComponent@45:12 ; Zone: <root> ; Task: Promise.then ; …Run Code Online (Sandbox Code Playgroud)