From a11fdcadbeb32e8955433f6d86dcf07ed6950333 Mon Sep 17 00:00:00 2001 From: takanakahiko Date: Sun, 8 Oct 2023 23:36:30 +0900 Subject: [PATCH] fix typos of plugins/nuxt-codemirror-plugin.ts --- ...{nuxt-codemirror-plugin.js => nuxt-codemirror-plugin.ts} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename web/plugins/{nuxt-codemirror-plugin.js => nuxt-codemirror-plugin.ts} (56%) diff --git a/web/plugins/nuxt-codemirror-plugin.js b/web/plugins/nuxt-codemirror-plugin.ts similarity index 56% rename from web/plugins/nuxt-codemirror-plugin.js rename to web/plugins/nuxt-codemirror-plugin.ts index 3e4880c..74193f9 100644 --- a/web/plugins/nuxt-codemirror-plugin.js +++ b/web/plugins/nuxt-codemirror-plugin.ts @@ -1,10 +1,10 @@ import { defineNuxtPlugin } from "#app"; import VueCodemirror from 'vue-codemirror' import { StreamLanguage } from "@codemirror/language" -import { sparqle } from "@codemirror/legacy-modes/mode/sparql" +import { sparql } from "@codemirror/legacy-modes/mode/sparql" export default defineNuxtPlugin((nuxtApp) => { - nuxtApp.Vue.use(VueCodemirror, { - extensions: [StreamLanguage.define(sparqle)] + nuxtApp.vueApp.use(VueCodemirror, { + extensions: [StreamLanguage.define(sparql)] }) });