refactoring

This commit is contained in:
Philipp Kühn
2020-04-18 17:05:29 +02:00
parent cb8968061c
commit b6d87326ee
11 changed files with 55 additions and 128 deletions

View File

@@ -17,18 +17,11 @@ module.exports = {
{
use: '@gridsome/vue-remark',
options: {
typeName: 'Post',
typeName: 'DocPage',
baseDir: './src/data/posts',
route: '/:slug',
template: './src/templates/Post.vue',
template: './src/templates/DocPage.vue',
plugins: [
'@gridsome/remark-prismjs',
[
'@noxify/gridsome-plugin-remark-embed',
{
'enabledProviders' : ['Youtube', 'Twitter', 'Gist'],
},
],
],
},
},