Add ember to project

This commit is contained in:
Tom Price
2016-08-09 13:18:19 +01:00
parent 024f08562b
commit bfdf0cabbe
139 changed files with 454 additions and 1 deletions

18
app/app.js Normal file
View File

@@ -0,0 +1,18 @@
import Ember from 'ember';
import Resolver from './resolver';
import loadInitializers from 'ember-load-initializers';
import config from './config/environment';
let App;
Ember.MODEL_FACTORY_INJECTIONS = true;
App = Ember.Application.extend({
modulePrefix: config.modulePrefix,
podModulePrefix: config.podModulePrefix,
Resolver
});
loadInitializers(App, config.modulePrefix);
export default App;

0
app/components/.gitkeep Normal file
View File

0
app/controllers/.gitkeep Normal file
View File

0
app/helpers/.gitkeep Normal file
View File

25
app/index.html Normal file
View File

@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>PyRIGS</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ content-for "head"}}
<link rel="stylesheet" href="{{ rootURL }}assets/vendor.css">
<link rel="stylesheet" href="{{ rootURL }}assets/py-rigs.css">
{{ content-for "head-footer"}}
</head>
<body>
{{ content-for "body"}}
<script src="{{ rootURL }}assets/vendor.js"></script>
<script src="{{ rootURL }}assets/py-rigs.js"></script>
{{ content-for "body-footer"}}
</body>
</html>

0
app/models/.gitkeep Normal file
View File

3
app/resolver.js Normal file
View File

@@ -0,0 +1,3 @@
import Resolver from 'ember-resolver';
export default Resolver;

12
app/router.js Normal file
View File

@@ -0,0 +1,12 @@
import Ember from 'ember';
import config from './config/environment';
const Router = Ember.Router.extend({
location: config.locationType,
rootURL: config.rootURL
});
Router.map(function () {
});
export default Router;

0
app/routes/.gitkeep Normal file
View File

0
app/styles/app.css Normal file
View File

View File