VueEntry

vue 3.4.37_vue.global.js fix to component

Pada tanggal 09 Agustus 2024. Lihat %(latest_version_link).

Skrip ini tidak untuk dipasang secara langsung. Ini adalah pustaka skrip lain untuk disertakan dengan direktif meta // @require https://update.greatest.deepsurf.us/scripts/503097/1424933/VueEntry.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Penulis
inDarkness
Versi
v3.4.37
Dibuat
09 Agustus 2024
Diperbarui
09 Agustus 2024
Size
514 KB
Lisensi
MIT

功能描述

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

使用方法

方法一:

window.VueEntry.createApp({template: '<div>{{message}}</div>', setup: () => ({message: 'hello world'})}).mount('body')

方法二:

// @require https://update.greatest.deepsurf.us/scripts/503097/1424931/VueEntry.js

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