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

Manual injection of JS and CSS #367

Open
josh-attwood opened this issue Jan 6, 2023 · 0 comments
Open

Manual injection of JS and CSS #367

josh-attwood opened this issue Jan 6, 2023 · 0 comments
Labels

Comments

@josh-attwood
Copy link

We are using Barba to AJAX a site we are currently developing. The way this plugin injects the CSS and Javascript is causing us a few issues as it needs to sit outside the container that dynamically gets reloaded. So the javascript and css need to load on every page on the site (or ideally lazy load).

Ideally we would like to have a template variable in which we could insert the css and javascript manually and an option to disable the automatic injection.

We are using the plugin Formie on this site and they do a very good job at handling this, see their documentation about it here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant