VueEntry

vue 3.4.37_vue.global.js fix to component

As of 2024-08-09. See the latest version.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://updategreasyfork.deno.dev/scripts/503097/1424931/VueEntry.js

Author
inDarkness
Version
v3.4.37
Created
2024-08-09
Updated
2024-08-09
Size
514 KB
License
MIT

# 功能描述
1. 为兼容require的写法
2. 为不影响原有页面的Vue版本
3. 暴露出来的对象为VueEntry

# 使用方法
```js
window.VueEntry.createApp({template: '

{{message}}

', setup: () => ({message: 'hello world'})}).mount('body')
```

```js
//@require 这个脚本的地址

const {reative} = window.VueEntry;
....
```