plunker

    1热度

    1回答

    我看到有很多关于No 'Access-Control-Allow-Origin' header的线程。我的问题是关于如何解决这个问题。 我有一段代码plunker,它试图加载一个外部html文件。它给出了一个错误No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://

    1热度

    1回答

    嗨,我有以下Plunker的离子2. Ionic 2 Environment 我想对角2弯曲布局(下面的链接)到这个plunker让我可以在home.html上访问它。我会怎么做呢? Angular Flex Layout 许多在此先感谢。 我的指标是这样的: <head> <script src="https://code.angularjs.org/tools/system.js">

    0热度

    1回答

    我有最基本的角度2 plunk,但没有错误显示出任何问题的迹象。为什么我无法看到子组件的任何模板输出?这是一个Plunker问题还是我? Plunker version here with Index.html PARENT:hello_world.ts import {Component} from 'angular2/core'; import {Jupiter} from './jupit

    0热度

    1回答

    当前项目的链接上传我的项目github上,我想看看该项目居住的链接。 我试图做到这一点与plunker,但我没有看到任何导入选项。 我看到github用户上传他们的项目,然后他们把'xxxx.github.com' (github域名)链接,当我按下它时,我在预览中看到该项目。 我该怎么做? 我的目录结构 在src GitHub的链接 github link to project- shows o

    1热度

    1回答

    我试图创建在plunker角2基本形式,但面临着下面的错误在Chrome Dev的控制台: VM8247:27 EXCEPTION: Error in ./App class App - inline template:1:12 caused by: formGroup expects a FormGroup instance. Please pass one in. Example

    0热度

    2回答

    我有一些意想不到的问题,我的控制器,这在建设第一个角度项目,就像在这里发生:https://www.youtube.com/watch?v=8-ZQHv70BCw&t=2119s 问题是我的主页链接不加载,即使控制台显示消息并且不返回任何错误,也不会产生任何效果。我在plunkr上测试这个。 的index.html: <!DOCTYPE HTML> <html lang="en" ng-app=

    0热度

    1回答

    我是Plunker的新手,所以这可能是一个noob问题......但是我确实挣扎了很长时间,还没弄明白。 我试图测试在Plunker的Skulpt主站点上发布的示例代码,但它没有起作用。但它确实在本地服务器上工作。 Here's my plunker link 下面的代码: <html> <head> <script src="http://ajax.googleapis.com/ajax/l

    0热度

    2回答

    我是比较新的笨蛋,我做错了什么?控制台中存在错误,并且实时预览不起作用。代码在我的本地主机中工作得很好。 这是它的链接。 http://plnkr.co/edit/cZ48oeBBDthtVqXMRJPy?p=preview <html ng-app="myApp"> <head> <script src="https://cdnjs.cloudflare.com/ajax/

    0热度

    1回答

    我正在尝试使用运行程序进行oauth身份验证。要做到这一点,我需要一个我的脚本可以获取的URL,它将提供一个运行脚本的plunker页面。 在的jsfiddle,我用https://fiddle.jshell.net/my_name/fiddle_id/show/ 是有办法做到这一点在plunker?

    1热度

    1回答

    我正在尝试创建一个角度为2的项目,并且需要在多个组件之间进行调用。像这样 <ParentComponent> <ChildComponent> <ChildComponent 1> </ChildComponent 1> </ChildComponent> </ParentComponent> 我试图用一个部件引用,并试图从父模板访问的属性和方法,