Template Codeblock with example for index.vue (#29)

* Replace runkit GIF with actual code on index.vue

Sometimes the GIF will not load due to a slow or crappy connection.
Syntax highlighting could be added at a later date.

* Added syntax highlighting with vue highlightJS

* Move scss to highlightjs.scss

* Introduce better syntax highlighting.

* Changed to monospace font
This commit is contained in:
diabolical17
2020-11-16 13:28:33 +00:00
committed by GitHub
parent 07c255f7f8
commit ac65357c8a
7 changed files with 173 additions and 14 deletions

View File

@@ -93,7 +93,11 @@ export default {
** Plugins to load before mounting the App
** https://nuxtjs.org/guide/plugins
*/
plugins: ['~/plugins/vue-tooltip.js', '~/plugins/vue-notification.js'],
plugins: [
'~/plugins/vue-tooltip.js',
'~/plugins/vue-notification.js',
'~/plugins/vue-syntax.js',
],
/*
** Auto import components
** See https://nuxtjs.org/api/configuration-components