Compilar a paths relativos
This commit is contained in:
parent
391d3d78fb
commit
da92f24ca6
2 changed files with 8 additions and 8 deletions
14
index.html
14
index.html
|
@ -10,13 +10,13 @@
|
||||||
<body>
|
<body>
|
||||||
<div style="display: none">
|
<div style="display: none">
|
||||||
<!-- Cargar imágenes -->
|
<!-- Cargar imágenes -->
|
||||||
<img id="img-boton-jugar" src="/src/assets/boton_jugar.png">
|
<img id="img-boton-jugar" src="./src/assets/boton_jugar.png">
|
||||||
<img id="img-vereda" src="/src/assets/piso.png">
|
<img id="img-vereda" src="./src/assets/piso.png">
|
||||||
<img id="img-fondo" src="/src/assets/fondo.png">
|
<img id="img-fondo" src="./src/assets/fondo.png">
|
||||||
<img id="img-larreta" src="/src/assets/larreta.png">
|
<img id="img-larreta" src="./src/assets/larreta.png">
|
||||||
<img id="img-jugadorx" src="/src/assets/eli.png">
|
<img id="img-jugadorx" src="./src/assets/eli.png">
|
||||||
<img id="img-semilla" src="/src/assets/semilla.png">
|
<img id="img-semilla" src="./src/assets/semilla.png">
|
||||||
<img id="img-arbol" src="/src/assets/arbol.png">
|
<img id="img-arbol" src="./src/assets/arbol.png">
|
||||||
</div>
|
</div>
|
||||||
<canvas id="juego" width="1280" height="720"></canvas>
|
<canvas id="juego" width="1280" height="720"></canvas>
|
||||||
<script type="module" src="/src/main.ts"></script>
|
<script type="module" src="/src/main.ts"></script>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build",
|
"build": "vite build --base=./",
|
||||||
"serve": "vite preview"
|
"serve": "vite preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
Loading…
Reference in a new issue