Skip to content

Nested components were not working in slots of splitter in webpack #2

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

Open
bydraw opened this issue Sep 23, 2019 · 5 comments
Open

Comments

@bydraw
Copy link

bydraw commented Sep 23, 2019

Env

"vue": "^2.5.2",
"vue-splitter-pane": "^1.3.13",
"element-ui": "^2.12.0",
"webpack": "^3.6.0"

Code Example

<vue-splitter-v> <template slot="left"> <el-button>click</el-button> </template> <template slot="right">content...</template> </vue-splitter-v>

Issue

Working properly in umd(cdn) mode like the DEMO.
But the nested component (el-button or others) won't be resolved and shown in vue-cli(webpack) mode.

@venkatperi
Copy link
Owner

venkatperi commented Sep 23, 2019 via email

@bydraw
Copy link
Author

bydraw commented Sep 23, 2019

you can try in this demo
https://github.com/bydraw/aTestForSplitter

@chen-ABC
Copy link

I have the same problem, the UI component iview all fails

@xeroxstar
Copy link

I just copy and paste the nested example and it's not working. I followed the instructions and other examples are working fine but nested example display only column A the rest of the columns are not present.

@ocomsoft
Copy link

I think I have just found the same issue - the thing that I find kinda worrying is when I look in the source using chrome devtools I can see that Vue has been included in the js file.

I am guessing that the other developers above are using another version of vue (maybe a later version) than 2.5.17

See here.
2020-01-20_17-58-38

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

No branches or pull requests

5 participants