-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
I'm trying with the following, using the Hello World tutorial as a base. I first had to replace several /vendor/ references with /bower_components/.
PS: I think this is a bit too long... /bower_components/ember-addons.bs_for_ember/dist/js
I still don't see the alert box :(
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>DemoApp</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{BASE_TAG}}
<!--standard Bootstrap css file-->
<link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="assets/vendor.css">
<link rel="stylesheet" href="assets/demo-app.css">
</head>
<body>
<script>
window.DemoAppENV = {{ENV}};
window.EmberENV = window.DemoAppENV.EmberENV;
</script>
<script type="text/x-handlebars">
Alert here!
{{bs-alert message="A self destroyable hello world message!" type="info" dismissAfter=2 fade=true}}
{{outlet}}
</script>
<!--Core of Bootstrap for Ember -->
<script src="/bower_components/ember-addons.bs_for_ember/dist/js/bs-core.min.js"></script>
<!--Alert component -->
<script src="/bower_components/ember-addons.bs_for_ember/dist/js/bs-alert.min.js"></script>
<script src="assets/vendor.js"></script>
<script src="assets/demo-app.js"></script>
<script>
window.DemoApp = require('demo-app/app')['default'].create(DemoAppENV.APP);
</script>
</body>
</html>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels