Path to JS map, best practice?

General project discussion. NOT for help questions.
Forum Members
Forum Members
Posts: 61
Joined: Wed Aug 08, 2018 4:59 pm

Path to JS map, best practice?

Post 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?
User avatar
Dev Team Member
Dev Team Member
Posts: 1112
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Path to JS map, best practice?

Post 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.
Not getting the answer you need? CMSMS support options

Return to “General Discussion”