Skip to content

Manual injection of JS and CSS #367

@josh-attwood

Description

@josh-attwood

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions