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

Avoid copying extra files to user project #126

Open
selenil opened this issue Jan 8, 2025 · 1 comment
Open

Avoid copying extra files to user project #126

selenil opened this issue Jan 8, 2025 · 1 comment

Comments

@selenil
Copy link
Contributor

selenil commented Jan 8, 2025

I think it would be better to avoid copying files to the user project other than the components themselves. Files like helper.ex or component.ex could be used directly from SaladUI instead of generating in each project. The ZagHook and in general all hooks doesn't need to be copied either, users can just import it in their app.js file directly from SaladUI dependecy.

@bluzky
Copy link
Owner

bluzky commented Jan 10, 2025

@selenil 👍 users normally don't touch these files. Let's do this for v1. I think we should bump version after integrating all necessary components with Zagjs

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