File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66[](http://tluma.ai/ask-ai/devforth/adminforth)
77
8- * [Try live demo](https://demo.adminforth.dev/) (Read-only mode)
8+ * [Try live demo](https://demo.adminforth.dev/)
99
1010* [Hello world in 5 minutes](https://adminforth.dev/docs/tutorial/gettingStarted) with AdminForth
1111
Original file line number Diff line number Diff line change @@ -1179,6 +1179,11 @@ export interface AdminForthConfigMenuItem {
11791179 itemId?: string, // todo move to runtime type
11801180
11811181 url?: string
1182+
1183+ /**
1184+ * Open menu item link in a new browser tab.
1185+ */
1186+ isOpenInNewTab?: boolean
11821187}
11831188
11841189
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -50,14 +50,6 @@ new AdminForth({
5050 // title: 'Support us for free',
5151 }
5252 },
53- globalInjections: {
54- header: [
55- {
56- file: '@/custom/GitHubButton.vue',
57- meta: { thinEnoughToShrinkHeader: true }
58- }
59- ]
60- }
6153 },
6254
6355 dataSources: [
@@ -120,6 +112,17 @@ new AdminForth({
120112 icon: 'flowbite:search-outline',
121113 resourceId: 'audit_logs',
122114 },
115+ {
116+ type: 'gap'
117+ },
118+ {
119+ type: 'divider'
120+ },
121+ {
122+ label: 'Demo source',
123+ icon: 'mdi:github',
124+ url: 'https://github.com/devforth/adminforth/tree/main/live-demo/app',
125+ },
123126 ],
124127});
125128
@@ -131,7 +134,7 @@ async function seedDatabase() {
131134 await admin.resource('aparts').create({
132135 id: randomUUID(),
133136 title: `Apartment ${i}`,
134- square_meter: (Math.random() * 100).toFixed(1),
137+ square_meter: + (Math.random() * 100).toFixed(1),
135138 price: (Math.random() * 10000).toFixed(2),
136139 number_of_rooms: Math.floor(Math.random() * 4) + 1,
137140 description: 'Next gen apartments',
You can’t perform that action at this time.
0 commit comments