Skip to content
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
.PHONY: build clean-build dev run lint build-app-main build-wc-reaction-bar build-wc-websocket-log build-wc-chart-circle build-wc-mermaid build-wc-markdown build-wc-model-gallery build-wc-counter-persist
.PHONY: build clean-build dev run lint build-app-main build-app-iframe-demo build-wc-reaction-bar build-wc-websocket-log build-wc-chart-circle build-wc-mermaid build-wc-markdown build-wc-model-gallery build-wc-counter-persist

build: build-app-main build-wc-reaction-bar build-wc-websocket-log build-wc-chart-circle build-wc-mermaid build-wc-markdown build-wc-model-gallery build-wc-counter-persist
build: build-app-main build-app-iframe-demo build-wc-reaction-bar build-wc-websocket-log build-wc-chart-circle build-wc-mermaid build-wc-markdown build-wc-model-gallery build-wc-counter-persist

build-app-main:
cd frontend/applications/main && npm install && npm run build -- --outDir ../../../static/app/main --emptyOutDir

build-app-iframe-demo:
cd frontend/applications/iframe-demo && npm install && npm run build -- --outDir ../../../static/app/iframe-demo --emptyOutDir

build-wc-reaction-bar:
cd frontend/web-components/reaction-bar && npm install && npm run build -- --outDir ../../../static/wc/reaction-bar --emptyOutDir

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ The `wippy/facade` dependency controls the frontend shell:
| `start_nav_open` | Nav open on load | `false` |
| `allow_select_model` | User model selection | `false` |
| `disable_right_panel` | Disable right sidebar | `false` |
| `session_type` | `non-persistent` or `persistent` | `non-persistent` |
| `session_type` | `non-persistent` or `cookie` | `non-persistent` |
| `history_mode` | `hash` or `browser` | `hash` |
| `login_path` | Unauthenticated redirect | `/login.html` (this template overrides to `/app/login.html`) |
| `custom_css` | CSS injected into frontend | Poppins font import |
Expand Down
28 changes: 28 additions & 0 deletions frontend/applications/iframe-demo/app.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Iframe Demo</title>
<script type="importmap">
{
"imports": {
"vue": "https://esm.sh/vue@3",
"vue-router": "https://esm.sh/vue-router@4",
"@iconify/vue": "https://esm.sh/@iconify/vue",
"axios": "https://esm.sh/axios"
}
}
</script>
<script
src="http://localhost:5173/dev-proxy.js"
data-role="@wippy/scripts"
></script>
</head>
<body>
<div id="app">
<wippy-loading title="Loading..."></wippy-loading>
</div>
<script type="module" src="./src/app.ts"></script>
</body>
</html>
Loading