refactor: move /account into vue component (#3467)

This commit is contained in:
dni ⚡
2025-11-07 18:17:15 +01:00
committed by GitHub
parent a40306f5cd
commit bd07f7a5ef
10 changed files with 1109 additions and 1076 deletions
File diff suppressed because one or more lines are too long
+5 -9
View File
@@ -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 {
+1
View File
@@ -49,6 +49,7 @@
"js/pages/audit.js",
"js/pages/wallets.js",
"js/pages/users.js",
"js/pages/account.js",
"js/pages/admin.js",
"js/components/admin/lnbits-admin-funding.js",
"js/components/admin/lnbits-admin-funding-sources.js",