añado bootstrap como dependencia para que carge sin conexion

This commit is contained in:
2025-03-05 19:08:11 -03:00
parent 6c58c6da78
commit 21724a372f
3 changed files with 22 additions and 0 deletions
+20
View File
@@ -9,6 +9,7 @@
"version": "0.0.0", "version": "0.0.0",
"dependencies": { "dependencies": {
"@sveltestrap/sveltestrap": "^6.2.8", "@sveltestrap/sveltestrap": "^6.2.8",
"bootstrap": "^5.3.3",
"chartjs": "^0.3.24", "chartjs": "^0.3.24",
"svelte-routing": "^2.13.0" "svelte-routing": "^2.13.0"
}, },
@@ -206,6 +207,25 @@
"node": ">= 0.4" "node": ">= 0.4"
} }
}, },
"node_modules/bootstrap": {
"version": "5.3.3",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.3.tgz",
"integrity": "sha512-8HLCdWgyoMguSO9o+aH+iuZ+aht+mzW0u3HIMzVu7Srrpv7EBBxTnrFlSCskwdY1+EOFQSm7uMJhNQHkdPcmjg==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/twbs"
},
{
"type": "opencollective",
"url": "https://opencollective.com/bootstrap"
}
],
"license": "MIT",
"peerDependencies": {
"@popperjs/core": "^2.11.8"
}
},
"node_modules/chartjs": { "node_modules/chartjs": {
"version": "0.3.24", "version": "0.3.24",
"license": "MIT" "license": "MIT"
+1
View File
@@ -22,6 +22,7 @@
}, },
"dependencies": { "dependencies": {
"@sveltestrap/sveltestrap": "^6.2.8", "@sveltestrap/sveltestrap": "^6.2.8",
"bootstrap": "^5.3.3",
"chartjs": "^0.3.24", "chartjs": "^0.3.24",
"svelte-routing": "^2.13.0" "svelte-routing": "^2.13.0"
} }
+1
View File
@@ -1,4 +1,5 @@
<script lang="ts"> <script lang="ts">
import 'bootstrap/dist/css/bootstrap.min.css';
import Login from "./paginas/login.svelte"; import Login from "./paginas/login.svelte";
import { Router, Route, link } from 'svelte-routing'; import { Router, Route, link } from 'svelte-routing';
import MenuPage from './paginas/menu.svelte'; import MenuPage from './paginas/menu.svelte';