move assets around
This commit is contained in:
parent
50117ff78d
commit
f9a8784f1f
6 changed files with 6 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
.zig-cache
|
||||
zig-out
|
||||
node_modules
|
||||
public/*
|
||||
|
|
|
|||
1
public/.gitignore
vendored
1
public/.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
build
|
||||
|
|
@ -47,11 +47,11 @@ pub fn SendInertiaResponse(endpoint: anytype, r: zap.Request, arena: Allocator,
|
|||
(if (show_unbuilt_assets)
|
||||
"/src/main.ts"
|
||||
else
|
||||
"/build/main.js"),
|
||||
"/main.js"),
|
||||
(if (show_unbuilt_assets)
|
||||
"/src/style.css"
|
||||
else
|
||||
"/build/style.css"),
|
||||
"/style.css"),
|
||||
HtmlEncodeFormatter{ .input = inertia_json },
|
||||
},
|
||||
);
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 773 B After Width: | Height: | Size: 773 B |
|
|
@ -6,7 +6,7 @@ import { Link } from "@inertiajs/vue3";
|
|||
<header class="p-3 bg-rose-800 dark:bg-rose-950">
|
||||
<div class="max-w-5xl flex gap-2 mx-auto">
|
||||
<Link href="/" class="text-white font-extrabold">
|
||||
<img src="../../favicon.svg" class="h-8 inline" />
|
||||
<img src="@/favicon.svg" class="h-8 inline" />
|
||||
<span class="px-1 relative top-0.5">OwnMedia</span>
|
||||
</Link>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ import tailwindcss from "@tailwindcss/vite";
|
|||
const inputs = {
|
||||
main: "./src/main.ts",
|
||||
style: "./src/style.css",
|
||||
favicon: "./src/favicon.svg",
|
||||
};
|
||||
|
||||
export default defineConfig({
|
||||
|
|
@ -13,7 +14,7 @@ export default defineConfig({
|
|||
base: "/",
|
||||
publicDir: false,
|
||||
build: {
|
||||
outDir: "public/build",
|
||||
outDir: "public",
|
||||
minify: false,
|
||||
sourcemap: "inline",
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue