mirror of
https://github.com/seigler/drawing-prompt
synced 2025-07-26 01:06:13 +00:00
unsatisfactor fix to css asset paths
This commit is contained in:
parent
a341739431
commit
34cb1b9405
3 changed files with 5 additions and 5 deletions
|
@ -2,9 +2,9 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>drawing-prompt + TS</title>
|
<title>Drawing Prompt</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'helsinkiregular';
|
font-family: 'helsinkiregular';
|
||||||
src: url('helsinki-webfont.woff') format('woff');
|
src: url('../helsinki-webfont.woff') format('woff');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
margin: auto;
|
margin: auto;
|
||||||
height: min(100vh, 50rem);
|
height: min(100vh, 50rem);
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
mask-image: url('brush-stroke.png');
|
mask-image: url('../brush-stroke.png');
|
||||||
mask-size: cover;
|
mask-size: cover;
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
mask-position: center;
|
mask-position: center;
|
||||||
|
|
|
@ -4,10 +4,10 @@ import solid from 'vite-plugin-solid'
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
base: "/drawing-prompt/",
|
||||||
plugins: [solid(), VitePWA({
|
plugins: [solid(), VitePWA({
|
||||||
registerType: 'autoUpdate',
|
registerType: 'autoUpdate',
|
||||||
injectRegister: false,
|
injectRegister: false,
|
||||||
base: "/drawing-prompt/",
|
|
||||||
|
|
||||||
pwaAssets: {
|
pwaAssets: {
|
||||||
disabled: false,
|
disabled: false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue