setupin 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +3 -5
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -14136,13 +14136,11 @@
|
|
|
14136
14136
|
(async () => {
|
|
14137
14137
|
const template = await oTemplate;
|
|
14138
14138
|
const { setupEl, importText, setupText, retNames } = await oSetup;
|
|
14139
|
+
window.Vue = await import('https://unpkg.com/vue/dist/vue.esm-browser.prod.js');
|
|
14139
14140
|
setupEl.textContent = `
|
|
14140
|
-
import * as Vue from 'https://unpkg.com/vue/dist/vue.esm-browser.prod.js'
|
|
14141
14141
|
${importText}
|
|
14142
|
-
|
|
14143
|
-
|
|
14144
|
-
}
|
|
14145
|
-
Vue.createApp({
|
|
14142
|
+
const { ${Object.keys(window.Vue)} } = Vue
|
|
14143
|
+
createApp({
|
|
14146
14144
|
template: \`${template}\`,
|
|
14147
14145
|
setup(){
|
|
14148
14146
|
${setupText}
|