Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(runtime-vapor): fix slots render level mess up #241

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

Doctor-wu
Copy link
Member

@Doctor-wu Doctor-wu commented Jun 19, 2024

close #242

  • fix runtime
  • add test case

Copy link

netlify bot commented Jun 19, 2024

Deploy Preview for vapor-template-explorer ready!

Name Link
🔨 Latest commit ea2e2a4
🔍 Latest deploy log https://app.netlify.com/sites/vapor-template-explorer/deploys/66cf1634dee60c0008c5ff9d
😎 Deploy Preview https://deploy-preview-241--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.

Copy link

netlify bot commented Jun 19, 2024

Deploy Preview for vapor-repl ready!

Name Link
🔨 Latest commit ea2e2a4
🔍 Latest deploy log https://app.netlify.com/sites/vapor-repl/deploys/66cf1634b364d60008638cae
😎 Deploy Preview https://deploy-preview-241--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.

Copy link

github-actions bot commented Jun 19, 2024

Size Report

Bundles

File Size Gzip Brotli
compiler-dom.global.prod.js 80.6 kB 28.4 kB 25 kB
compiler-vapor.global.prod.js 56.9 kB 19.4 kB 17.6 kB
runtime-dom.global.prod.js 99.3 kB 37.6 kB 33.8 kB
runtime-vapor.global.prod.js 48.8 kB (+221 B) 18.4 kB (+90 B) 16.8 kB (+85 B)
vue-vapor.global.prod.js 103 kB (+221 B) 36.2 kB (+77 B) 32.6 kB (+113 B)
vue.global.prod.js 157 kB 57.4 kB 51 kB

Usages

Name Size Gzip Brotli
createApp 55.2 kB 21.3 kB 19.4 kB
createSSRApp 59.1 kB 22.9 kB 20.9 kB
defineCustomElement 59.8 kB 22.8 kB 20.8 kB
vapor 49.4 kB (+221 B) 18.6 kB (+87 B) 16.9 kB (+76 B)
overall 68.8 kB 26.3 kB 23.9 kB

@Doctor-wu Doctor-wu marked this pull request as draft June 19, 2024 14:43
@LittleSound
Copy link
Member

I have addressed a similar issue in PR #227. You can refer to the implementation of the normalizeSlotProps function.

I hope this information helps you solve the problem!

@Doctor-wu Doctor-wu marked this pull request as ready for review June 23, 2024 09:11
@Doctor-wu
Copy link
Member Author

Preview Demo

Copy link

pkg-pr-new bot commented Aug 8, 2024

commit: ea2e2a4

@vue/compiler-core

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-core@241

@vue/compiler-dom

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-dom@241

@vue/compiler-sfc

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-sfc@241

@vue/compiler-ssr

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-ssr@241

@vue/compiler-vapor

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-vapor@241

@vue/reactivity

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/reactivity@241

@vue/runtime-core

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/runtime-core@241

@vue/runtime-dom

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/runtime-dom@241

@vue/runtime-shared

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/runtime-shared@241

@vue/runtime-vapor

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/runtime-vapor@241

@vue/server-renderer

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/server-renderer@241

@vue/shared

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/shared@241

vue

pnpm add https://pkg.pr.new/vuejs/core-vapor/vue@241

@vue/compat

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/compat@241

@vue/vapor

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/vapor@241

Open in Stackblitzplayground

@moushicheng
Copy link
Contributor

moushicheng commented Aug 28, 2024

look good👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slots level mess up
4 participants