Move to subdir

This commit is contained in:
MattIPv4
2020-05-26 16:37:12 +01:00
parent a07cc51e61
commit 8459764c46
2 changed files with 2 additions and 3 deletions

View File

@@ -0,0 +1,23 @@
<template>
<div :class="`column ${half ? 'is-half' : 'is-full'} is-full-mobile is-full-tablet`">
<h3>{{ name }}</h3>
<pre><code class="language-nginx" v-html="conf"></code></pre>
</div>
</template>
<script>
import Prism from 'prismjs';
export default {
name: 'NginxPrism',
props: {
name: String,
conf: String,
half: Boolean,
},
mounted() {
console.info(`Highlighting ${this.$props.name}...`);
Prism.highlightAllUnder(this.$el);
},
};
</script>