• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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, 04: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 the CodeIgniter Community in 2009.          ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.