@overlastic/vue 0.8.0 → 0.8.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/index.global.js +2 -1
- package/package.json +2 -2
package/dist/index.global.js
CHANGED
|
@@ -16726,7 +16726,8 @@ ${codeFrame}` : message);
|
|
|
16726
16726
|
const deferred = createDeferred();
|
|
16727
16727
|
const name = defineName(options3.id, options3.autoIncrement);
|
|
16728
16728
|
const index = getIndex(options3.id);
|
|
16729
|
-
const
|
|
16729
|
+
const root = globalContainer ? options3.root : document.body;
|
|
16730
|
+
const container = defineGlobalElement(name, root);
|
|
16730
16731
|
mount(instance, props, Object.assign(options3, {
|
|
16731
16732
|
position: context2.position,
|
|
16732
16733
|
id: name,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overlastic/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/hairyf/overlastic#readme",
|
|
7
7
|
"repository": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"pascal-case": "3.1.2",
|
|
30
30
|
"vue": "^3.3.2",
|
|
31
31
|
"vue-demi": ">=0.14.7",
|
|
32
|
-
"@overlastic/core": "^0.8.
|
|
32
|
+
"@overlastic/core": "^0.8.1"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsup src/index.ts",
|