This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

humpback
humpback

Hi, is there a way to turn off combiner during development mode? Thank you

rajakhoury
rajakhoury

I guess you have to either link directly to your CSS files or remove the brackets.

change

<link href="{{ ['assets/css/style.css']|theme }}" rel="stylesheet">

to

<link href="{{ 'assets/css/style.css'|theme }}" rel="stylesheet">

Last updated

humpback
humpback

Thank you @Raja Khoury, when i tried it didn't work i think because of some overlapping doesn't work (i'm using blank bootstrap). for now, bear with the combiner :(

rajakhoury
rajakhoury

Did you try adding normal links to all your CSS files ?

To be honest this my first experience with October but I am using grunt and bower for doing this kind of tasks, it makes it easier to maintain dependencies later on..

1 - Install NodeJS if you haven't then navigate to your root directory

2- Install Bower npm install -g bower

3 - Install Grunt...

4 - Create a Grunt task file and do your logic there ...

What Bower does is basically install / update a list of dependencies you specify such as jquery, bootstrap ect.. Grunt can be used to minify, combine, compile less files... then in your October application just link to the compiled files

Well I am not sure this is the best practice but I kind of like it, perhaps someone here can help more on this topic.

All the best

Last updated

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.