add: composant GeneratedContent.vue pour gérer et afficher la partie générative
This commit is contained in:
@@ -0,0 +1,31 @@
|
|||||||
|
<script setup>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div id="generatorContainer">
|
||||||
|
<p>It's empty for now!</p>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
/*=====================Generated Content CSS*/
|
||||||
|
#generatorContainer{
|
||||||
|
pointer-events: none;
|
||||||
|
position:absolute;
|
||||||
|
inset:0;
|
||||||
|
z-index: 3;
|
||||||
|
background-color: transparent;
|
||||||
|
opacity: 50%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name : 'GeneratedContent',
|
||||||
|
mounted(){
|
||||||
|
console.log("Content generator is loaded!");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
@@ -3,11 +3,14 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="mainContainer">
|
<div id="mainContainer">
|
||||||
|
<generatorDiv></generatorDiv>
|
||||||
<div class="windowContainer" id="mainPannel">
|
<div class="windowContainer" id="mainPannel">
|
||||||
<div class="windowTitle">
|
<div class="windowTitle">
|
||||||
<div class="titleContent">
|
<div class="titleContent">
|
||||||
<p>./MainContent.333</p>
|
<p>./MainContent.333</p>
|
||||||
<button type="button" class="titleBtn"> <p>RELOAD</p> </button>
|
<!--<Teleport to="div#generatorContainer">-->
|
||||||
|
<button type="button" class="titleBtn"> <p>RELOAD</p> </button>
|
||||||
|
<!--</Teleport>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import App from './App.vue'
|
|||||||
// import composants
|
// import composants
|
||||||
import MainContent from './components/MainContent.vue'
|
import MainContent from './components/MainContent.vue'
|
||||||
import ExtraContent from './components/ExtraContent.vue'
|
import ExtraContent from './components/ExtraContent.vue'
|
||||||
|
import GeneratedContent from './components/GeneratedContent.vue'
|
||||||
|
|
||||||
// création app racine
|
// création app racine
|
||||||
const app = createApp(App);
|
const app = createApp(App);
|
||||||
@@ -13,6 +14,8 @@ const app = createApp(App);
|
|||||||
//Composants
|
//Composants
|
||||||
app.component('mainDiv',MainContent);
|
app.component('mainDiv',MainContent);
|
||||||
app.component('extraDiv',ExtraContent);
|
app.component('extraDiv',ExtraContent);
|
||||||
|
app.component('generatorDiv',GeneratedContent);
|
||||||
|
|
||||||
|
|
||||||
//Démarrage dans div#app de index.html
|
//Démarrage dans div#app de index.html
|
||||||
app.mount('#app');
|
app.mount('#app');
|
||||||
|
|||||||
Reference in New Issue
Block a user