vue router pour l'history
This commit is contained in:
@@ -4,6 +4,7 @@ import '../scss/main.scss'
|
||||
import Modale from './vuejs/Modale.vue'
|
||||
|
||||
import { useContentStore } from './stores/content';
|
||||
import router from './router/router';
|
||||
|
||||
// Working with the history API
|
||||
// https://developer.mozilla.org/en-US/docs/Web/API/History_API/Working_with_the_History_API
|
||||
@@ -47,7 +48,7 @@ import { useContentStore } from './stores/content';
|
||||
}
|
||||
|
||||
function initVueContentModale(){
|
||||
const app = createApp(Modale).use(createPinia());
|
||||
const app = createApp(Modale).use(createPinia()).use(router);
|
||||
const store = useContentStore();
|
||||
app.mount('#content-modale');
|
||||
|
||||
|
Reference in New Issue
Block a user