- Creazione "AbitareGliIblei"

- Mappa Interattiva con i markers
This commit is contained in:
Surya Paolo
2024-07-31 15:02:30 +02:00
parent 3ab18b591f
commit 822585cf33
252 changed files with 3600294 additions and 4300 deletions

View File

@@ -7,6 +7,8 @@
// @ts-ignore
import { boot } from 'quasar/wrappers'
import { useGlobalStore } from '@src/store/globalStore';
export default boot(({ app, router }) => {
// ******************************************
// *** Per non permettere di accedere alle pagine in cui è necessario essere Loggati ! ***
@@ -16,6 +18,39 @@ export default boot(({ app, router }) => {
// runs the default `next()` callback but also triggers
// the subsequent Middleware function.
router.beforeEach((to, from, next) => {
console.log('beforeEach ROUTER')
// Execute your command before each navigation
// executeCommand();
const globalStore = useGlobalStore()
try {
globalStore.editOn = false
} catch(e) {
}
next()
/* const answer = window.confirm('Do you really want to leave? you have unsaved changes!')
if (answer) {
next()
} else {
next(false)
}
*/
//if (to.matched.some(record => record.meta.requiresAuth) && !userStore.isLogged) {
// next({ name: 'login', query: { next: to.fullPath } })
//} else {
// next()
//}
// Continue with the navigation
});
/* router.beforeEach((to, from, next) => {
var accessToken = store.state.session.userSession.accessToken
// ESTANDO LOGEADO

View File

@@ -0,0 +1,20 @@
import { boot } from 'quasar/wrappers';
import { VueHtmlToPaper } from 'vue-html-to-paper';
const options = {
name: '_blank',
specs: [
'fullscreen=yes',
'titlebar=yes',
'scrollbars=yes'
],
styles: [
'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css',
// Aggiungi qui i link ai tuoi stili CSS, se necessario
]
};
// Definisce un componente di boot per Vue
export default boot(({ app }) => {
app.use(VueHtmlToPaper, options);
});