VueEntry

vue 3.4.37_vue.global.js fix to component

Ekde 2024/08/09. Vidu La ĝisdata versio.

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

Aŭtoro
inDarkness
Versio
v3.4.37
Kreita
2024/08/09
Ĝisdatigita
2024/08/09
Size
514 kb
Licenco
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;
....
```