refactor: move /account into vue component (#3467)
This commit is contained in:
@@ -157,15 +157,6 @@ const routes = [
|
||||
scripts: ['/static/js/extensions_builder.js']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/account',
|
||||
name: 'Account',
|
||||
component: DynamicComponent,
|
||||
props: {
|
||||
fetchUrl: '/account',
|
||||
scripts: ['/static/js/account.js']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/node',
|
||||
name: 'Node',
|
||||
@@ -200,6 +191,11 @@ const routes = [
|
||||
path: '/admin',
|
||||
name: 'Admin',
|
||||
component: PageAdmin
|
||||
},
|
||||
{
|
||||
path: '/account',
|
||||
name: 'Account',
|
||||
component: PageAccount
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
window.AccountPageLogic = {
|
||||
window.PageAccount = {
|
||||
template: '#page-account',
|
||||
mixins: [window.windowMixin],
|
||||
data() {
|
||||
return {
|
||||
Reference in New Issue
Block a user