added popper.js; importing bootstrap and popper to main.js; Added ConfigView.vue to start viewing config of Caddy

This commit is contained in:
lwcrosier 2025-11-19 19:02:09 -05:00
parent c310a143ba
commit 3993d8cce5
6 changed files with 25 additions and 1 deletions

11
package-lock.json generated
View File

@ -10,6 +10,7 @@
"dependencies": { "dependencies": {
"bootstrap": "^5.3.8", "bootstrap": "^5.3.8",
"pinia": "^3.0.3", "pinia": "^3.0.3",
"popper.js": "^1.16.1",
"vue": "^3.5.22", "vue": "^3.5.22",
"vue-router": "^4.6.3" "vue-router": "^4.6.3"
}, },
@ -2995,6 +2996,16 @@
} }
} }
}, },
"node_modules/popper.js": {
"version": "1.16.1",
"resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz",
"integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==",
"deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/popperjs"
}
},
"node_modules/postcss": { "node_modules/postcss": {
"version": "8.5.6", "version": "8.5.6",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",

View File

@ -15,6 +15,7 @@
"dependencies": { "dependencies": {
"bootstrap": "^5.3.8", "bootstrap": "^5.3.8",
"pinia": "^3.0.3", "pinia": "^3.0.3",
"popper.js": "^1.16.1",
"vue": "^3.5.22", "vue": "^3.5.22",
"vue-router": "^4.6.3" "vue-router": "^4.6.3"
}, },

View File

@ -1,5 +1,5 @@
<template> <template>
<div></div> <RouterView />
</template> </template>
<script></script> <script></script>

View File

@ -1,5 +1,7 @@
import { createApp } from 'vue' import { createApp } from 'vue'
import { createPinia } from 'pinia' import { createPinia } from 'pinia'
import 'bootstrap/dist/css/bootstrap.min.css';
import 'bootstrap/dist/js/bootstrap.bundle.min.js';
import App from './App.vue' import App from './App.vue'
import router from './router' import router from './router'

View File

@ -9,6 +9,11 @@ const router = createRouter({
name: 'home', name: 'home',
component: HomeView, component: HomeView,
}, },
{
path: '/config',
name: 'Config',
component: () => import('../views/ConfigView.vue')
}
], ],
}) })

5
src/views/ConfigView.vue Normal file
View File

@ -0,0 +1,5 @@
<template>
<div class="container">
<button class="btn btn-primary">Get Config</button>
</div>
</template>