VueEntry

vue 3.4.37_vue.global.js fix to component

As of 09. 08. 2024. 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://update.greatest.deepsurf.us/scripts/503097/1424932/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!)

Autor
inDarkness
Verzija
v3.4.37
Napravljeno
09. 08. 2024
Ažurirano
09. 08. 2024
Size
514 КБ
Licenca
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;
...