vuejs / core-vapor

Vue Vapor is a variant of Vue that offers rendering without the Virtual DOM.
https://vapor-repl.netlify.app
MIT License
1.8k stars 86 forks source link

fix(runtime-vapor): current instance is not attached to static slots #247

Closed LittleSound closed 2 months ago

LittleSound commented 2 months ago

related #168

When all slots are static slots, it is also necessary to call withCtx to attach the current instance to the slots.

netlify[bot] commented 2 months ago

Deploy Preview for vapor-repl ready!

Name Link
Latest commit 9a38c1f9717260ba9cc01780bc715ee0a5726b3c
Latest deploy log https://app.netlify.com/sites/vapor-repl/deploys/667421408252ba0008e0064d
Deploy Preview https://deploy-preview-247--vapor-repl.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 2 months ago

Deploy Preview for vapor-template-explorer ready!

Name Link
Latest commit 9a38c1f9717260ba9cc01780bc715ee0a5726b3c
Latest deploy log https://app.netlify.com/sites/vapor-template-explorer/deploys/667421400bbda10008d8fc39
Deploy Preview https://deploy-preview-247--vapor-template-explorer.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

github-actions[bot] commented 2 months ago

Size Report

Bundles

File Size Gzip Brotli
compiler-dom.global.prod.js 81.2 kB 28.5 kB 25.1 kB
compiler-vapor.global.prod.js 57.6 kB 19.6 kB 17.7 kB
runtime-dom.global.prod.js 95.4 kB 36 kB 32.4 kB
runtime-vapor.global.prod.js 48.9 kB (+39 B) 18.3 kB (+16 B) 16.7 kB (+14 B)
vue-vapor.global.prod.js 104 kB (+39 B) 36.3 kB (+18 B) 32.7 kB (+23 B)
vue.global.prod.js 154 kB 55.6 kB 49.7 kB

Usages

Name Size Gzip Brotli
createApp 55.8 kB 21.4 kB 19.5 kB
createSSRApp 59.1 kB 22.7 kB 20.7 kB
defineCustomElement 58.1 kB 22.1 kB 20.1 kB
vapor 49.3 kB (+39 B) 18.3 kB (+15 B) 16.7 kB (+13 B)
overall 69.6 kB 26.4 kB 23.9 kB