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

(Feature request) Add the #appJs attribute to load a custom script. #502

Open
yunyuyuan opened this issue Oct 19, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@yunyuyuan
Copy link

Describe feature

My script might use a certain JS library, such as Vue.js, multiple times. I don’t want to repeatedly clone it to a new location each time. Could there be a tag #appJs to configure a JS library for global import in HTML head?Just like #appCss

Additional Information

No response

@yunyuyuan
Copy link
Author

I took a look at the implementation of #appCss, and it seems quite simple. If you guys think this feature is worth adding, I'd be happy to contribute the code.

@eliandoran eliandoran added the enhancement New feature or request label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants