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

3 pane layout #9

Open
chris-deep opened this issue Jan 9, 2024 · 2 comments
Open

3 pane layout #9

chris-deep opened this issue Jan 9, 2024 · 2 comments

Comments

@chris-deep
Copy link

If I want to create 3 pane layout, vertical splitter, would I need to create a nested splitter in the template for "right-pane"? The docs seem to indicate you can only do two panes before you need to start nesting. But, maybe I'm reading it wrong? I'll give the demos a try and see how it looks...

I guess my real question is is there a limit to the number of template slots we can/should use?

@chris-deep
Copy link
Author

Hmm, trying to build run the project, I get the following:

npm run serve

@rmp135/vue-splitter@2.0.2 serve
vite

VITE v5.0.2 ready in 546 ms

➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h + enter to show help
(!) Could not auto-determine entry point from rollupOptions or html files and there are no explicit optimizeDeps.include patterns. Skipping dependency pre-bundling.

@rmp135
Copy link
Owner

rmp135 commented Jan 12, 2024

It's is only really made for slitting into 2 panes. You can split into 3 by nesting splitters but it might not behave as expected.

The error appears for the serve command which I'm now realising is non-functional. The docs:dev command will run the documentation in serve mode which can be used during development as the docs directly imports the library.

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

2 participants