Welcome Guest, Not a member yet? Register   Sign In
Scaffolding css
#1

I have been searching documentation and can't find anything on how I should scaffold my project, i.e where do I put my css folder, should it go in views, should it go in the applications folder, should it sit in the website route.

I'm more used to drupal and wordpress where I place these things inside theme folders, I guess I could place the css directory wherever I like but CodeIgniter must have a best practice method for this?
Reply
#2

make an "assets" directory at the root level and put your css,js, and images in there.
Simpler is always better
Reply
#3

(03-12-2018, 03:20 PM)donpwinston Wrote: make an "assets" directory at the root level and put your css,js, and images in there.

Yep I like that idea a lot, that's consistent with the new Sage Starter theme I've been working with in WP, I liked that scaffold so it makes sense to do the same in my current CodeIgniter project.

Thanks for the tip, I'll roll with that Smile
Reply
#4

ROOT
application
system
public /or public_html
- assets
-- css
-- images
-- img
-- js
-- plugins
-- media
-- vendor
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB