Skip to content
Snippets Groups Projects
Commit 2defec53 authored by Christopher Krawietz's avatar Christopher Krawietz
Browse files

added own theme layout file and updated gitignore

parent 875c3e4a
No related branches found
No related tags found
No related merge requests found
.idea
*.iml
*.lock
pids
logs
node_modules
......
{
"name": "ITVSH Design System Dokumentation",
"name": "ITVSH-Design-System-Dokumentation",
"version": "0.0.1",
"description": "Dokumentation zum Design System des ITVSH",
"main": "index.js",
"authors": {
"name": "Christopher Krawietz",
"email": "krawietz@new-communication.de"
"email": "krawietz@new-communication.de",
"company": "New Communication GmbH"
},
"repository": "git@gitlab.nc-lab.de:nc/Design-System-Doku.git/ITVSH Design System Dokumentation",
"repository": "git@gitlab.nc-lab.de:nc/Design-System-Doku.git",
"scripts": {
"dev": "vuepress dev src",
"build": "vuepress build src"
},
"license": "MIT",
"devDependencies": {
"@vuepress/plugin-back-to-top": "^1.8.2",
"@vuepress/plugin-last-updated": "^1.8.2",
"@vuepress/plugin-medium-zoom": "^1.8.2",
"@vuepress/plugin-pwa": "^1.8.2",
"vuepress": "^1.5.3"
}
}
......@@ -16,9 +16,27 @@ module.exports = {
* ref:https://v1.vuepress.vuejs.org/config/#head
*/
head: [
['link', { rel: 'icon', href: '/logo.png' }],
['link', { rel: 'manifest', href: '/manifest.json' }],
['meta', { name: 'theme-color', content: '#3eaf7c' }],
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }]
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }],
['link', { rel: 'apple-touch-icon', href: '/icons/apple-touch-icon-152x152.png' }],
['link', { rel: 'mask-icon', href: '/icons/safari-pinned-tab.svg', color: '#3eaf7c' }],
['meta', { name: 'msapplication-TileImage', content: '/icons/msapplication-icon-144x144.png' }],
['meta', { name: 'msapplication-TileColor', content: '#000000' }]
],
plugins: [
[
'@vuepress/plugin-back-to-top',
'@vuepress/plugin-medium-zoom',
'@vuepress/plugin-last-updated',
'@vuepress/pwa',
{
serviceWorker: true,
updatePopup: true
}
]
],
/**
......@@ -37,10 +55,6 @@ module.exports = {
text: 'Guide',
link: '/guide/',
},
{
text: 'Config',
link: '/config/'
},
{
text: 'VuePress',
link: 'https://v1.vuepress.vuejs.org'
......@@ -58,13 +72,5 @@ module.exports = {
}
],
}
},
/**
* Apply plugins,ref:https://v1.vuepress.vuejs.org/zh/plugin/
*/
plugins: [
'@vuepress/plugin-back-to-top',
'@vuepress/plugin-medium-zoom',
]
}
}
<template>
<ParentLayout>
<template #sidebar-top>
</template>
<template #page-bottom>
</template>
</ParentLayout>
</template>
<script>
import ParentLayout from '@parent-theme/layouts/Layout.vue'
export default {
name: 'Layout',
components: {
ParentLayout,
}
}
</script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment