VueEntry

vue 3.4.37_vue.global.js fix to component

As of 09.08.2024. See ბოლო ვერსია.

ეს სკრიპტი არ უნდა იყოს პირდაპირ დაინსტალირებული. ეს ბიბლიოთეკაა, სხვა სკრიპტებისთვის უნდა ჩართეთ მეტა-დირექტივაში // @require https://update.greatest.deepsurf.us/scripts/503097/1424938/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!)

ავტორი
inDarkness
ვერსია
v3.4.37
შექმნილია
09.08.2024
განახლებულია
09.08.2024
Size
514 KB
ლიცენზია
MIT

功能描述

  1. 为兼容require的写法
  2. 为不影响原有页面的Vue版本,甚至原有页面可能是Vue2,当前插入的是Vue3
  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;
...