linstrom/frontend-reactive/app/router.ts
mStar c75acc48a2 Add a bunch of placeholder files
Placeholder files for future app structure
Also figured out how to have root url code stuff
2024-09-19 16:43:15 +02:00

15 lines
347 B
TypeScript

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 () {
this.route('about');
this.route('notes', function () {
this.route(':note_id');
});
});