ember didn't want to ember, so now it embers again
This commit is contained in:
parent
5a82179df6
commit
876c7a2b73
56 changed files with 1715 additions and 7649 deletions
12
frontend-reactive/app/app.ts
Normal file
12
frontend-reactive/app/app.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import Application from '@ember/application';
|
||||
import Resolver from 'ember-resolver';
|
||||
import loadInitializers from 'ember-load-initializers';
|
||||
import config from 'frontend-reactive/config/environment';
|
||||
|
||||
export default class App extends Application {
|
||||
modulePrefix = config.modulePrefix;
|
||||
podModulePrefix = config.podModulePrefix;
|
||||
Resolver = Resolver;
|
||||
}
|
||||
|
||||
loadInitializers(App, config.modulePrefix);
|
0
frontend-reactive/app/components/.gitkeep
Normal file
0
frontend-reactive/app/components/.gitkeep
Normal file
4
frontend-reactive/app/components/timeline/note.hbs
Normal file
4
frontend-reactive/app/components/timeline/note.hbs
Normal file
|
@ -0,0 +1,4 @@
|
|||
<div>
|
||||
<h3>{{@username}}</h3>
|
||||
<p>{{@content}}</p>
|
||||
</div>
|
14
frontend-reactive/app/config/environment.d.ts
vendored
Normal file
14
frontend-reactive/app/config/environment.d.ts
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* Type declarations for
|
||||
* import config from 'frontend-reactive/config/environment'
|
||||
*/
|
||||
declare const config: {
|
||||
environment: string;
|
||||
modulePrefix: string;
|
||||
podModulePrefix: string;
|
||||
locationType: 'history' | 'hash' | 'none';
|
||||
rootURL: string;
|
||||
APP: Record<string, unknown>;
|
||||
};
|
||||
|
||||
export default config;
|
0
frontend-reactive/app/controllers/.gitkeep
Normal file
0
frontend-reactive/app/controllers/.gitkeep
Normal file
0
frontend-reactive/app/helpers/.gitkeep
Normal file
0
frontend-reactive/app/helpers/.gitkeep
Normal file
24
frontend-reactive/app/index.html
Normal file
24
frontend-reactive/app/index.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>FrontendReactive</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
{{content-for "head"}}
|
||||
|
||||
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css">
|
||||
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/frontend-reactive.css">
|
||||
|
||||
{{content-for "head-footer"}}
|
||||
</head>
|
||||
<body>
|
||||
{{content-for "body"}}
|
||||
|
||||
<script src="{{rootURL}}assets/vendor.js"></script>
|
||||
<script src="{{rootURL}}assets/frontend-reactive.js"></script>
|
||||
|
||||
{{content-for "body-footer"}}
|
||||
</body>
|
||||
</html>
|
0
frontend-reactive/app/models/.gitkeep
Normal file
0
frontend-reactive/app/models/.gitkeep
Normal file
11
frontend-reactive/app/router.ts
Normal file
11
frontend-reactive/app/router.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import EmberRouter from '@ember/routing/router';
|
||||
import config from 'frontend-reactive/config/environment';
|
||||
|
||||
export default class Router extends EmberRouter {
|
||||
location = config.locationType;
|
||||
rootURL = config.rootURL;
|
||||
}
|
||||
|
||||
Router.map(function () {
|
||||
// Add route declarations here
|
||||
});
|
0
frontend-reactive/app/routes/.gitkeep
Normal file
0
frontend-reactive/app/routes/.gitkeep
Normal file
1
frontend-reactive/app/styles/app.css
Normal file
1
frontend-reactive/app/styles/app.css
Normal file
|
@ -0,0 +1 @@
|
|||
/* Ember supports plain CSS out of the box. More info: https://cli.emberjs.com/release/advanced-use/stylesheets/ */
|
4
frontend-reactive/app/templates/application.hbs
Normal file
4
frontend-reactive/app/templates/application.hbs
Normal file
|
@ -0,0 +1,4 @@
|
|||
{{page-title "FrontendReactive"}}
|
||||
|
||||
{{outlet}}
|
||||
<Timeline::Note @username="bob" @content="Hello world" />
|
Loading…
Add table
Add a link
Reference in a new issue