admin管理员组文章数量:1389869
I created the following plunker:
But this gives me an error with the line where I try to include a reference to ui-bootstrap
<head>
<meta charset="utf-8" />
<title>AngularJS Plunker</title>
<script>document.write('<base href="' + document.location + '" />');</script>
<link rel="stylesheet" href="style.css" />
<script src="//tinymce.cachefly/4.0/tinymce.min.js"></script>
<script data-require="[email protected]" src=".0.7/angular.min.js" data-semver="1.0.7"></script>
<script src="//github/angular-ui/bootstrap/blob/gh-pages/ui-bootstrap-0.4.0.js"></script>
<script src="app.js"></script>
</head>
I am not very experienced with creating plunkers. Can someone give me some advice as to what I am doing wrong
I created the following plunker:
http://plnkr.co/edit/c0pGkinMpXBBT1dpLxAo?p=preview
But this gives me an error with the line where I try to include a reference to ui-bootstrap
<head>
<meta charset="utf-8" />
<title>AngularJS Plunker</title>
<script>document.write('<base href="' + document.location + '" />');</script>
<link rel="stylesheet" href="style.css" />
<script src="//tinymce.cachefly/4.0/tinymce.min.js"></script>
<script data-require="[email protected]" src="https://ajax.googleapis./ajax/libs/angularjs/1.0.7/angular.min.js" data-semver="1.0.7"></script>
<script src="//github./angular-ui/bootstrap/blob/gh-pages/ui-bootstrap-0.4.0.js"></script>
<script src="app.js"></script>
</head>
I am not very experienced with creating plunkers. Can someone give me some advice as to what I am doing wrong
Share Improve this question asked Jul 10, 2013 at 8:23 user1943020user19430201 Answer
Reset to default 5You can find and add external libraries from the right side bar in most cases (from the little button that looks like a book), but I think your error stems from that you're linking to the GitHub page instead of the actual script.
The correct link should be: https://raw.github./angular-ui/bootstrap/gh-pages/ui-bootstrap-0.4.0.js
本文标签: javascriptHow can I include uibootstrap in a plunkerStack Overflow
版权声明:本文标题:javascript - How can I include ui-bootstrap in a plunker? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744691939a2620047.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论