I would suggest to make pages using ui and then copying the contents in there. So for example, in a content page (in node) I wouldn’t touch this:
And then every component you have, add it to your content page once more. So let’s say you got a slider, just add it in your page then immediately remove it. That way all the scripts will be added to your layout
