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

Add example of using bookshop in Sveltekit lib folder to documentation #142

Open
silveltman opened this issue Apr 3, 2023 · 1 comment

Comments

@silveltman
Copy link

silveltman commented Apr 3, 2023

I was under the impression that the component-library should be a seperate folder, but I found out by trying that it can also simply be used in the lib folder.

lib/
├─ bookshop/
│  └─ bookshop.config.cjs
├─ components/
│  └─ sample/
│     ├─ sample.bookshop.yml
│     └─ sample. Svelte

Is there something I'm missing why this is not recommended? If not, I think it would be a good idea to add an example of this possibility to the documentation.

@bglw
Copy link
Contributor

bglw commented Apr 5, 2023

No big reason, apart from trying to keep the current docs fairly lean since it's a one-pager. I'm working on new documentation at the moment, so I'll look at including more examples like this (as it's now multi-page and can have a little more fluff)

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