Page 1 of 1

Path to JS map, best practice?

Posted: Thu Dec 13, 2018 11:34 am
by Sendlingur
Hi all

I'm working on a project on 'localhost'. As for now I've been using the uploads folder to store additional JS scripts.

It is obviously not the best practice :) the plan is to move the JS map somewhere else before deployment.

Where is the "best" place to store JS, bootstrap, etc maps in the cmsms hierarchy? in case something would change due to an update etc.?

where do you all store your JS map in your projects?

Re: Path to JS map, best practice?

Posted: Thu Dec 13, 2018 3:14 pm
by DIGI3
I use /assets for anything required by the design, and /uploads for anything the content editors provide.

The assets folder is being utilized more and more by the core for plugins, module overrides, etc, so it's a good place to keep it all together.