@fangzhongya/vue-archive 0.0.90 → 0.0.91
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue");;/* empty css */const t={class:"__document"},n=e.defineComponent({__name:"index",setup(
|
|
1
|
+
"use strict";const e=require("vue");;/* empty css */const t=require("vue-router"),r={class:"__document"},n=e.defineComponent({__name:"index",setup(o){return(c,s)=>(e.openBlock(),e.createElementBlock("div",r,[e.createVNode(e.unref(t.RouterView))]))}});module.exports=n;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as e, createElementBlock as o, openBlock as t, createVNode as r, unref as n } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
|
|
3
|
+
import { RouterView as c } from "vue-router";
|
|
4
|
+
const _ = { class: "__document" }, u = /* @__PURE__ */ e({
|
|
4
5
|
__name: "index",
|
|
5
|
-
setup(
|
|
6
|
-
return (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
r(e)
|
|
10
|
-
]);
|
|
11
|
-
};
|
|
6
|
+
setup(m) {
|
|
7
|
+
return (i, p) => (t(), o("div", _, [
|
|
8
|
+
r(n(c))
|
|
9
|
+
]));
|
|
12
10
|
}
|
|
13
11
|
});
|
|
14
12
|
export {
|
|
15
|
-
|
|
13
|
+
u as default
|
|
16
14
|
};
|
package/dist/packages/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});;/* empty css */const n=require("./router/index.cjs"),t=require("./config.cjs");function u(e){return t.userConfig(e)}const o={install:function(e,i){n.init(i),e.use(i)}};exports.default=o;exports.defineConfig=u;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});;/* empty css */const n=require("./router/index.cjs"),t=require("./config.cjs");function u(e){return t.userConfig(e)}const o={install:function(e,i){n.init(i),e.use(i)}};exports.init=n.init;exports.default=o;exports.defineConfig=u;
|
package/dist/packages/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { init } from './router/index';
|
|
1
2
|
import { Config } from './config';
|
|
2
3
|
import { App } from '../vue/dist/vue.esm-bundler.js';
|
|
3
4
|
import { Router } from 'vue-router';
|
|
4
5
|
export declare function defineConfig(config: Config): Config;
|
|
6
|
+
export { init };
|
|
5
7
|
declare const _default: {
|
|
6
8
|
install: (app: App, router: Router) => void;
|
|
7
9
|
};
|
package/dist/packages/index.js
CHANGED