@micro-zoe/micro-app 0.8.1 → 0.8.2
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/README.md +1 -1
- package/README.zh-cn.md +1 -1
- package/lib/index.esm.js +100 -72
- package/lib/index.esm.js.map +1 -1
- package/lib/index.min.js +1 -1
- package/lib/index.min.js.map +1 -1
- package/lib/index.umd.js +1 -1
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/typings/global.d.ts +1 -0
package/package.json
CHANGED
package/typings/global.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ declare module '@micro-app/types' {
|
|
|
42
42
|
// app instance
|
|
43
43
|
interface AppInterface {
|
|
44
44
|
isPrefetch: boolean // whether prefetch app, default is false
|
|
45
|
+
prefetchResolve: (() => void) | null // prefetch callback
|
|
45
46
|
name: string // app name
|
|
46
47
|
url: string // app url
|
|
47
48
|
ssrUrl: string // html path in ssr mode
|