Skip to content

A sample project to demo the $slots access issue in web component target.

Notifications You must be signed in to change notification settings

MrCoder/vue-wc-slot-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-wc-slot-issue

A sample project to demo the $slots access issue in web component target.

Steps to reproduce

yarn install
./node_modules/.bin/vue-cli-service build --target wc --name hello-slot && cp src/demo.html dist/

Expected behaviour

It should prints 1234 (the slot content) 3 times.

Actual behaviour

1234 is printed only once (the third log).

About

A sample project to demo the $slots access issue in web component target.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published