mirror of
https://github.com/louislam/dockge.git
synced 2025-02-03 04:09:13 +01:00
Clean up code style errors I missed previously
This commit is contained in:
parent
19c8056268
commit
53876a2605
@ -172,7 +172,6 @@
|
|||||||
v-model="stack.composeYAML"
|
v-model="stack.composeYAML"
|
||||||
:dark="false"
|
:dark="false"
|
||||||
:extensions="[oneDarkTheme, yaml()]"
|
:extensions="[oneDarkTheme, yaml()]"
|
||||||
|
|
||||||
basic
|
basic
|
||||||
></CodeMirror>
|
></CodeMirror>
|
||||||
<!-- <prism-editor
|
<!-- <prism-editor
|
||||||
@ -252,10 +251,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import CodeMirror from 'vue-codemirror6';
|
import CodeMirror from "vue-codemirror6";
|
||||||
import { yaml as yamlLang } from '@codemirror/lang-yaml';
|
import { yaml as yamlLang } from "@codemirror/lang-yaml";
|
||||||
import { oneDark } from '@codemirror/theme-one-dark';
|
import { oneDark } from "@codemirror/theme-one-dark";
|
||||||
import { vsCodeDarkPlus } from '@upleveled/theme-vs-code-dark-plus';
|
import { vsCodeDarkPlus } from "@upleveled/theme-vs-code-dark-plus";
|
||||||
import { parseDocument, Document } from "yaml";
|
import { parseDocument, Document } from "yaml";
|
||||||
|
|
||||||
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
|
||||||
@ -303,7 +302,11 @@ export default {
|
|||||||
const yaml = yamlLang;
|
const yaml = yamlLang;
|
||||||
const oneDarkTheme = oneDark;
|
const oneDarkTheme = oneDark;
|
||||||
const vsCodeDark = vsCodeDarkPlus;
|
const vsCodeDark = vsCodeDarkPlus;
|
||||||
return { yaml, oneDarkTheme, vsCodeDark };
|
return {
|
||||||
|
yaml,
|
||||||
|
oneDarkTheme,
|
||||||
|
vsCodeDark
|
||||||
|
};
|
||||||
},
|
},
|
||||||
yamlDoc: null, // For keeping the yaml comments
|
yamlDoc: null, // For keeping the yaml comments
|
||||||
data() {
|
data() {
|
||||||
|
Loading…
Reference in New Issue
Block a user