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

CSS and Composition API #146

Open
chrispmcgee opened this issue Jun 10, 2024 · 1 comment
Open

CSS and Composition API #146

chrispmcgee opened this issue Jun 10, 2024 · 1 comment

Comments

@chrispmcgee
Copy link

I would love to customize this in our Vue.js+inertia Laravel app. However, I see that the Vue files published with vendor:publish are using the Options API rather than the Composition API. This normally isn't a big problem, but using require() to import other components is. We don't use require(), so I guess I would have to change every require() line in each component into an import statement instead.

I'd like to propose that the Vue files be updated to the import syntax and possibly even move the Vue components over to the Composition API.

I have also noticed that the styling is done in a .scss file. Unfortunately, we don't use Sass in our app and I doubt I'd be allowed to add that overhead. Is there a chance to convert it to a regular CSS3 file instead? Or, better yet, if you convert the Vue file into a SFC using the Composition API, then you could just put all the CSS into that same file in a <style scoped> element.

Thoughts?

@mydnic
Copy link
Owner

mydnic commented Jun 11, 2024

Hey there!

That would be absolutely nice and it will be something I'll work on... when I'll work on this package. Unfortunately I hove zero time to work on this package as of now. I still want to continue to work on it and upgrade the whole codebase, it's just impossible atm.

i'm definitely open to review and merge PR in the meanwhile

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