edit: création d'une structure responsive qui servira de base pour la suite (structure html & composants vue , class css communes, typo, gamme colorée)
This commit is contained in:
+4
-2
@@ -5,12 +5,14 @@ import './assets/style.css'
|
||||
import App from './App.vue'
|
||||
// import composants
|
||||
import MainContent from './components/MainContent.vue'
|
||||
import ExtraContent from './components/ExtraContent.vue'
|
||||
|
||||
// création app racine
|
||||
const app = createApp(App);
|
||||
|
||||
//Composants
|
||||
app.component('mainDiv',MainContent)
|
||||
app.component('mainDiv',MainContent);
|
||||
app.component('extraDiv',ExtraContent);
|
||||
|
||||
//Démarrage dans div#app de index.html
|
||||
app.mount('#app')
|
||||
app.mount('#app');
|
||||
|
||||
Reference in New Issue
Block a user