Skip to content

Commit

Permalink
add virtual route for rendering integration components
Browse files Browse the repository at this point in the history
  • Loading branch information
roncodes committed Aug 7, 2024
1 parent ec3d1ba commit 23c4cf1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions addon/templates/virtual.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Layout::Section::Header @title={{@model.title}} />

<Layout::Section::Body class="overflow-y-scroll h-full">
<div class="container mx-auto h-screen">
<div class="max-w-3xl my-10 mx-auto">
{{component @model.component params=@model.componentParams}}
</div>
</div>
<Spacer @height="300px" />
</Layout::Section::Body>
1 change: 1 addition & 0 deletions app/templates/virtual.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '@fleetbase/starter-engine/templates/virtual';

0 comments on commit 23c4cf1

Please sign in to comment.