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-cache
|
||||||
zig-out
|
zig-out
|
||||||
node_modules
|
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)
|
(if (show_unbuilt_assets)
|
||||||
"/src/main.ts"
|
"/src/main.ts"
|
||||||
else
|
else
|
||||||
"/build/main.js"),
|
"/main.js"),
|
||||||
(if (show_unbuilt_assets)
|
(if (show_unbuilt_assets)
|
||||||
"/src/style.css"
|
"/src/style.css"
|
||||||
else
|
else
|
||||||
"/build/style.css"),
|
"/style.css"),
|
||||||
HtmlEncodeFormatter{ .input = inertia_json },
|
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">
|
<header class="p-3 bg-rose-800 dark:bg-rose-950">
|
||||||
<div class="max-w-5xl flex gap-2 mx-auto">
|
<div class="max-w-5xl flex gap-2 mx-auto">
|
||||||
<Link href="/" class="text-white font-extrabold">
|
<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>
|
<span class="px-1 relative top-0.5">OwnMedia</span>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import tailwindcss from "@tailwindcss/vite";
|
||||||
const inputs = {
|
const inputs = {
|
||||||
main: "./src/main.ts",
|
main: "./src/main.ts",
|
||||||
style: "./src/style.css",
|
style: "./src/style.css",
|
||||||
|
favicon: "./src/favicon.svg",
|
||||||
};
|
};
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
|
@ -13,7 +14,7 @@ export default defineConfig({
|
||||||
base: "/",
|
base: "/",
|
||||||
publicDir: false,
|
publicDir: false,
|
||||||
build: {
|
build: {
|
||||||
outDir: "public/build",
|
outDir: "public",
|
||||||
minify: false,
|
minify: false,
|
||||||
sourcemap: "inline",
|
sourcemap: "inline",
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue