Lovelace Yaml Mode - Auto Resources?

Up until today I’ve been using my Lovelace in Storage mode, but I decided to switch today, because I have two very similar dashboards setup.
In storage mode, everytime I installed a new card through HACS, it asked to add resources.
Now, in yaml mode, none of the custom cards work, beacause the previously setup resources are not available through the GUI.
I’ve been able to manually add al resources in the lovelace “resources:” section.

Now, I would like to have the resources fill in automatically again like before. Is this possible?