mirror of
https://github.com/Alee14/chine-projet.git
synced 2025-01-22 13:41:47 -05:00
Added more pages and fixes
This commit is contained in:
parent
a1285728d3
commit
301228ad97
8 changed files with 65 additions and 3 deletions
|
@ -20,7 +20,7 @@ export default {
|
|||
css: [],
|
||||
|
||||
// Plugins to run before rendering page (https://go.nuxtjs.dev/config-plugins)
|
||||
plugins: [],
|
||||
plugins: ['@/plugins/youtube'],
|
||||
|
||||
// Auto import components (https://go.nuxtjs.dev/config-components)
|
||||
components: true,
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"core-js": "^3.6.5",
|
||||
"nuxt": "^2.14.5"
|
||||
"nuxt": "^2.14.5",
|
||||
"vue-youtube-embed": "^2.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxtjs/eslint-config": "^3.1.0",
|
||||
|
|
12
pages/page3.vue
Normal file
12
pages/page3.vue
Normal file
|
@ -0,0 +1,12 @@
|
|||
<template>
|
||||
<div>
|
||||
<h1>C'est quoi le capitale de Chine?</h1>
|
||||
<p>La capitale de Chine est Beijing.</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
components: {},
|
||||
}
|
||||
</script>
|
12
pages/page4.vue
Normal file
12
pages/page4.vue
Normal file
|
@ -0,0 +1,12 @@
|
|||
<template>
|
||||
<div>
|
||||
<h1>Le population de Chine</h1>
|
||||
<p>Population est 1,440,722,001</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
components: {},
|
||||
}
|
||||
</script>
|
12
pages/page5.vue
Normal file
12
pages/page5.vue
Normal file
|
@ -0,0 +1,12 @@
|
|||
<template>
|
||||
<div>
|
||||
<h1>Religion de Chine</h1>
|
||||
<p>La religion de Chine est Confucianisme, Taoïsme et Bouddhisme</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
components: {},
|
||||
}
|
||||
</script>
|
11
pages/page6.vue
Normal file
11
pages/page6.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<template>
|
||||
<div>
|
||||
<!-- Replace this -->
|
||||
<a href="https://www.youtube.com/watch?v=Bs0GuU0cUtw">YouTube Link</a>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
components: {},
|
||||
}
|
||||
</script>
|
9
plugins/youtube.js
Normal file
9
plugins/youtube.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
import Vue from 'vue'
|
||||
|
||||
import VueYouTubeEmbed from 'vue-youtube-embed'
|
||||
|
||||
Vue.use(VueYouTubeEmbed)
|
||||
|
||||
Vue.use(VueYouTubeEmbed, { global: true })
|
||||
*/
|
|
@ -8442,6 +8442,11 @@ vue-template-es2015-compiler@^1.9.0:
|
|||
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
|
||||
integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==
|
||||
|
||||
vue-youtube-embed@^2.2.2:
|
||||
version "2.2.2"
|
||||
resolved "https://registry.yarnpkg.com/vue-youtube-embed/-/vue-youtube-embed-2.2.2.tgz#e4fc27bc09ecd77488e6709f7c6694585c972d2d"
|
||||
integrity sha512-l/EJuFMRK43AN73N+qxJnN0LB3uPl2xAghmr3dCvODWGCRWGjmGfrHaOtD93fu9J4co+CZLv1KP3akAsldC1aw==
|
||||
|
||||
vue@^2.6.12:
|
||||
version "2.6.12"
|
||||
resolved "https://registry.yarnpkg.com/vue/-/vue-2.6.12.tgz#f5ebd4fa6bd2869403e29a896aed4904456c9123"
|
||||
|
|
Loading…
Reference in a new issue