diff --git a/index.html b/index.html index ab8bfa8..2f4ce87 100644 --- a/index.html +++ b/index.html @@ -2,9 +2,9 @@ - + - 333v1 + vgaNAR6ta
diff --git a/public/vite.svg b/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 81c28ec..7d558aa 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,30 +1,21 @@ + + diff --git a/src/assets/style.css b/src/assets/style.css new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/assets/style.css @@ -0,0 +1 @@ + diff --git a/src/assets/vue.svg b/src/assets/vue.svg deleted file mode 100644 index 770e9d3..0000000 --- a/src/assets/vue.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue deleted file mode 100644 index 546ebbc..0000000 --- a/src/components/HelloWorld.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/src/components/MainContent.vue b/src/components/MainContent.vue new file mode 100644 index 0000000..b4152e0 --- /dev/null +++ b/src/components/MainContent.vue @@ -0,0 +1,20 @@ + + + + + + + diff --git a/src/main.js b/src/main.js index 2425c0f..d08810a 100644 --- a/src/main.js +++ b/src/main.js @@ -1,5 +1,16 @@ import { createApp } from 'vue' -import './style.css' +// import CSS global +import './assets/style.css' +// import app vue racine import App from './App.vue' +// import composants +import MainContent from './components/MainContent.vue' -createApp(App).mount('#app') +// création app racine +const app = createApp(App); + +//Composants +app.component('mainDiv',MainContent) + +//Démarrage dans div#app de index.html +app.mount('#app') diff --git a/src/style.css b/src/style.css deleted file mode 100644 index f691315..0000000 --- a/src/style.css +++ /dev/null @@ -1,79 +0,0 @@ -:root { - font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; - - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} - -body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; -} - -h1 { - font-size: 3.2em; - line-height: 1.1; -} - -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; -} -button:hover { - border-color: #646cff; -} -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} - -.card { - padding: 2em; -} - -#app { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -}