Jump to content

Zurb Foundation and SASS


csaeum
 Share

Recommended Posts

So hi another question for you.

I did my first page bootstrap and ProcessWire almost finished.

The next page I want to do with files of ZURB Foundation and the compiled CSS.

In the system before, there was to a finished module. This is available for PW Yes net and I would therefore incorporate Foundation itself. With normal data not a problem but with SASS already.

How should we proceed so that the PW CSS files always kompliert and then stores?

Would be grateful for tips and suggestions as I am not a PHP programmer.

Thanks for help

Chris

  • Like 1
Link to comment
Share on other sites

If you think about the /site/templates/ folder as if it is the root of a static html site, then it is easier to see what happens.

When I use sass, I have a scss folder somewhere on the site (it can be within templates, or elsewhere, it doesn't matter).

I then compile the main scss file and output it in /site/templates/css/  as something like site.css.

Then your templates in your templates folder simply reference that file.  I personally use Prepros, but there are a lot of systems out there.

  • Like 1
Link to comment
Share on other sites

Thank you Joss and LostKobrakai

I'll try it Koala or Scout. Let's see if I can refresh my php skills so well again.

The best would be to not compiled data list in a Textares and to edit and then send the save by the compiler and thus to secure the Templates folder.

Link to comment
Share on other sites

  • 5 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...