elementor / elementor/elementor
Control the post individual enqueues and global enqueues
- Dominant language
- PHP
- Stars
- 7.1k
- Forks
- 1.6k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 193
Description
- [x] I have searched for similar features requests in both open and closed tickets and cannot find a duplicate.
- [x] The feature is still missing in the latest stable version of Elementor ( Elementor Pro. )
## Problem Description
After continuing, I have to explain that I create a reactive theme with vue.js that is equivalent to react.js and angular.
So when I change the route to some post created with Elementor the individual styles and scripts are lost. Well, of course, this happening, the individual enqueues just happening when the page is loaded..
Because of this If I refresh the site, the post works normally but I was thinking in a way to include the styles/scripts when changing the route.
## Possible solution
To make this happen I need to control the enqueues of styles and scripts that a post have, to avoid the normal enqueues and get all the links that I need to display the post correctly.
I know that I asking for a very think very unique function, but if you just give a light of how the individual enqueues are made, and how is armasened i can look for a solution myself.
### Alternatives I Considered
- Give information of how the enqueues are made, and all functions that takecare of that.
- Make all global scripts and styles enqueues in all pages, and make the individual styles be added with the post content.
Contributor guide
Assessment
This issue has not been assessed yet.