Skip to content

Commit

Permalink
fix: include css
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelstroschein committed Jul 24, 2024
1 parent 98aa544 commit b7bfea2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lix/website/src/renderer/+onRenderClient.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { hydrate } from "@lit-labs/ssr-client"
import "@lit-labs/ssr-client/lit-element-hydrate-support.js"
import "../style.css"

export async function onRenderClient(pageContext) {
const page = pageContext.Page()
Expand Down
2 changes: 1 addition & 1 deletion lix/website/src/renderer/+onRenderHtml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { dangerouslySkipEscape, escapeInject } from "vike/server"
import { PageContextServer } from "vike/types"
import { collectResult } from "@lit-labs/ssr/lib/render-result.js"
import { render } from "@lit-labs/ssr"
import "../style.css"

// https://vike.dev/onRenderHtml
export async function onRenderHtml(pageContext: PageContextServer) {
Expand All @@ -13,7 +14,6 @@ export async function onRenderHtml(pageContext: PageContextServer) {
<html>
<head>
<title>Lix - Change Control System</title>
<link rel="stylesheet" href="./src/style.css">
<link rel="icon" type="image/x-icon" href="/favicon.svg">
</head>
<body>
Expand Down

0 comments on commit b7bfea2

Please sign in to comment.