mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-04-04 05:22:41 +00:00
Allow access to console from route /console
This commit is contained in:
parent
198c84fca7
commit
861c486597
@ -8,6 +8,7 @@ import { DashboardComponent } from './dashboard/dashboard.component';
|
|||||||
import { IdeComponent } from './ide/ide.component';
|
import { IdeComponent } from './ide/ide.component';
|
||||||
import { TerminalComponent } from './terminal/terminal.component';
|
import { TerminalComponent } from './terminal/terminal.component';
|
||||||
import { MessagesComponent } from './messages/messages.component';
|
import { MessagesComponent } from './messages/messages.component';
|
||||||
|
import { ConsoleComponent } from './console/console.component';
|
||||||
import { TestmessengerComponent } from './testmessenger/testmessenger.component';
|
import { TestmessengerComponent } from './testmessenger/testmessenger.component';
|
||||||
import { config } from './config';
|
import { config } from './config';
|
||||||
|
|
||||||
@ -17,6 +18,7 @@ const routes: Routes = [
|
|||||||
{ path: config.ide.route, component: IdeComponent },
|
{ path: config.ide.route, component: IdeComponent },
|
||||||
{ path: config.terminal.route, component: TerminalComponent },
|
{ path: config.terminal.route, component: TerminalComponent },
|
||||||
{ path: config.messages.route, component: MessagesComponent },
|
{ path: config.messages.route, component: MessagesComponent },
|
||||||
|
{ path: config.console.route, component: ConsoleComponent },
|
||||||
{ path: config.testmessenger.route, component: TestmessengerComponent }
|
{ path: config.testmessenger.route, component: TestmessengerComponent }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -38,6 +38,7 @@ export const config = {
|
|||||||
showNextButton: true
|
showNextButton: true
|
||||||
},
|
},
|
||||||
console: {
|
console: {
|
||||||
|
route: 'console',
|
||||||
defaultContent: '',
|
defaultContent: '',
|
||||||
rewriteContentWithNewLogs: true
|
rewriteContentWithNewLogs: true
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user