@guolao/vue-monaco-editor
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "@guolao/vue-monaco-editor", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Monaco Editor for Vue - use the monaco-editor in any Vue application without needing to use webpack (or rollup/vite) configuration files / plugins", | ||
@@ -18,3 +18,2 @@ "author": { | ||
"eslint-fix": "eslint --fix ./src --ext .vue,.js,.ts,.tsx", | ||
"preinstall": "npx only-allow pnpm", | ||
"version": "npm run changelog", | ||
@@ -82,3 +81,2 @@ "prepublishOnly": "npm run build", | ||
"np": "^7.6.1", | ||
"only-allow": "^1.1.0", | ||
"postcss": "^8.4.13", | ||
@@ -85,0 +83,0 @@ "prettier": "^2.6.2", |
# monaco-vue | ||
Use [monaco-editor](https://microsoft.github.io/monaco-editor/) loaded from [CDN](#cdn) in [Vue](https://vuejs.org/), no need to configure plugins in `webpack` (or `rollup`, ` vite`) and other packaging tools to configure the plugin. | ||
Use [monaco-editor](https://microsoft.github.io/monaco-editor/) loaded from [CDN](#cdn) in [Vue](https://vuejs.org/), no need to configure plugins in `webpack` (or `rollup`, ` vite`) and other packaging tools. | ||
[![gitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/suren-atoyan/monaco-react/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/@guolao/vue-monaco-editor.svg?style=flat)](https://www.npmjs.com/package/@guolao/vue-monaco-editor) | ||
[![gitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/imguolao/monaco-vue/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/@guolao/vue-monaco-editor.svg?style=flat)](https://www.npmjs.com/package/@guolao/vue-monaco-editor) | ||
English Documents | [中文文档](./README.zh-CN.md) | ||
If you want to use [monaco-editor](https://microsoft.github.io/monaco-editor/) as `NPM Package` to load `monaco-editor` files from `node_modules` to package into your code, you will still need Use the plugin for the packaging tool, [viewed here](#npm-package). | ||
If you want to use [monaco-editor](https://microsoft.github.io/monaco-editor/) as `NPM Package` to load `monaco-editor` files from `node_modules` to package into your code, you still need to Use the plugin for the packaging tool, [viewed here](#npm-package). | ||
@@ -30,3 +30,3 @@ ## Installation | ||
Just introduce the `Editor` component and use it. | ||
Just import the `Editor` component and use it. | ||
@@ -130,3 +130,3 @@ ```js | ||
/* | ||
When the component is about to be unmount, | ||
When the component will be unmount, | ||
If the monaco instance is not successfully loaded, | ||
@@ -197,3 +197,3 @@ You need to manually unload. | ||
If you want to use [monaco-editor](https://microsoft.github.io/monaco-editor/) as `NPM Package` to load `monaco-editor` files from `node_modules` to package into your code, you will still need Use the plugin for the packaging tool. | ||
If you want to use [monaco-editor](https://microsoft.github.io/monaco-editor/) as `NPM Package` to load `monaco-editor` files from `node_modules` to package into your code, you still need to use the plugin for the packaging tool. | ||
@@ -249,3 +249,3 @@ ```js | ||
If you use `webpack`, [monaco-editor](https://microsoft.github.io/monaco-editor/) officially provides the `webpack` plugin [monaco-editor-webpack-plugin](https:// www.npmjs.com/package/monaco-editor-webpack-plugin), which you can use. | ||
If you use `webpack`, [monaco-editor](https://microsoft.github.io/monaco-editor/) officially provides the `webpack` plugin [monaco-editor-webpack-plugin](https://www.npmjs.com/package/monaco-editor-webpack-plugin), which you can use. | ||
@@ -252,0 +252,0 @@ ## Props & Events & slots |
@@ -5,3 +5,3 @@ # monaco-vue | ||
[![gitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/suren-atoyan/monaco-react/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/@guolao/vue-monaco-editor.svg?style=flat)](https://www.npmjs.com/package/@guolao/vue-monaco-editor) | ||
[![gitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/imguolao/monaco-vue/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/@guolao/vue-monaco-editor.svg?style=flat)](https://www.npmjs.com/package/@guolao/vue-monaco-editor) | ||
@@ -8,0 +8,0 @@ 中文文档 | [English Documents](./README.md) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
74960
33
30
0