MonacoEditor component for Vue.js. Latest version: 1.2.2, last published: 4 years ago. Start using vue-monaco in your project by running `npm i vue-monaco`. There are 26 other projects in the npm registry using vue-monaco.
importMonacoEditorfrom'monaco-editor-vue'; exportdefault{ name:"App", components:{ MonacoEditor }, data(){ return{ options:{ //Monaco Editor Options } } }, methods:{ onChange(value){ console.log(value); } } }; Add theMonaco Webpack pluginmonaco-editor-webpack-pluginto yourwebpack....
import{createApp}from'vue'import{installasVueMonacoEditorPlugin}from'@guolao/vue-monaco-editor'constapp=createApp(App)app.use(VueMonacoEditorPlugin,{paths:{// You can change the CDN config to load other versionsvs:'https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs'},}) import{load...
monaco vue3 editor,集成了 monaco-promql,简单易用的代码编辑器。 Version2.3.3LicenseMIT INSTALL Type:ESMDefault Version: No default CSS fileset by the package authorso the URL is guessed. You can alwaysbrowse all package filesto use another one. Monaco Editor Vue3 Monaco Editor is the code...
loader":"^4.1.6","vue":"^2.6.12","vue-cron":"^1.0.9","vue-demi":"^0.12.1","vue-i18n":"^8.12.0","vue-monaco":"^1.2.1","vue-router":"^3.0.7","vuedraggable":"^2.24.3","vuex":"^3.1.1","vxe-table":"^2.10.10","wcwidth":"^1.0.1","xe-utils":"^2.8.3","...
vue-monaco-editor Files are loading... Selected files No files selected. Select the files you want to use using the switches on the left.Maintained by jsDelivr team and contributors Founded by Dmitriy Akulov Sign up to our newsletter Subscribe...
vue.config.js const MonacoLocalesPlugin = require('./plugins/MonacoEditorLocalesPlugin.js') const path = require('path') const webpack = require('webpack') const resolve = dir => { return path.join(__dirname, dir) } // 设置环境变量,可以在全局使用 process.env.VUE_APP_MA_VERSION = re...
"monaco-editor": "^0.33.0", "nanoid": "^4.0.0", "normalize.css": "^8.0.1", "nprogress": "^1.0.0-1", "pinia": "^2.0.14", "qrcode": "^1.5.0", "qs": "^6.11.0", "vant": "3.5.2", "vue": "3.2.37", "vue-router": "^4.0.16", ...
以下是我的代码结构 --edit | index.vue | monaco.vue --preview | index.vue 现在打包的时候 我只想打包 /preview预览目录下的文件(目的为了减小打包体积) /edit都是我编辑工程时所用(引入了较多第三方插件),对于用户而言没什么用 请问大佬们该如何解决?
@vue3-oop/vite-plugin-monaco-editor A vite plugin for the Monaco Editor agileago published1.1.2•3 years agopublished version1.1.2,3 years ago @vue3-oop/babel-plugin-jsx Babel plugin for Vue 3.0 JSX agileago published1.1.1•3 years agopublished version1.1.1,3 years ago ...