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

Which components/scripts are strictly necessary? #24

Open
lia-07 opened this issue Nov 27, 2023 · 4 comments
Open

Which components/scripts are strictly necessary? #24

lia-07 opened this issue Nov 27, 2023 · 4 comments

Comments

@lia-07
Copy link

lia-07 commented Nov 27, 2023

Hi, I recently discovered this project and it looks amazing.
I am looking to design a website from scratch and use this project in my implementation of it.
I was wondering if someone could quickly give me a "shortcut" and tell me which of the files (components and scripts) are strictly necessary for the editor and site to function, and which are safe to delete. I am already familiar with SvelteKit so I know I can delete most of the directories in src/routes/ if necessary (assuming not api and assets).

I think the technique of using an example project as documentation is unique and useful, seeing as you can see the code in-use and make changes to it, however it can make it harder to get started quickly.

@michael
Copy link
Owner

michael commented Nov 28, 2023

Hey, the answer is, it depends. :) If you don't use images for instance you could drop all the assets related parts.

I'd recommend you to start with a fresh SvelteKit project and just migrate over the code you need. This way it will stay the most minimal for your usecase and you'll learn a lot. :)

@lia-07
Copy link
Author

lia-07 commented Nov 29, 2023

Yep thanks :D
I was going through the code manually and figured out what I need, but I kept this issue up for future reference.

@michael
Copy link
Owner

michael commented Nov 29, 2023

It's a valid question. Let's keep the issue open, until we have a solid answer for it and include it in the README. :)

@lia-07
Copy link
Author

lia-07 commented Mar 3, 2024

If you like/it would be helpful, I could start writing some preliminary docs or put together some type of init command to scaffold a barebones project? Of course nothing official, unless you approved it.
Unless you wanted to keep the philosophy of having people learn for themselves, which is also fine :D

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