Path to JS map, best practice?

General project discussion. NOT for help questions.
Locked
Sendlingur
Forum Members
Forum Members
Posts: 62
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
DIGI3
Dev Team Member
Dev Team Member
Posts: 1606
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
Locked

Return to “General Discussion”