Huhu,
Habe ne Frage zum Einbinden von Bootstrap in Symfony.
Ich mache das ganze über Composer und assetics mit Hilfe eines fertigen Bundles:
http://bootstrap.braincrafted.com/getting-started.html
Hab alles soweit umgesetzt, nur folgendes verstehe ich nicht ganz:
"You probably need to configure Assetic to use the installed binary. Change the path to the location of Node.js on your system."
Steht relativ am Anfang, nachdem ich "npm install -g less" gemacht habe.
Das nodejs ist bei mir an folgenden Ort über msi von nodejs.org (Windows) installiert worden: C:\Program Files\nodejs
Wie muss ich nun die Pfade(node und node_paths) oben anpassen?
Sry wenn ich da auf m Schlauch steh.
Regards.
Habe ne Frage zum Einbinden von Bootstrap in Symfony.
Ich mache das ganze über Composer und assetics mit Hilfe eines fertigen Bundles:
http://bootstrap.braincrafted.com/getting-started.html
Hab alles soweit umgesetzt, nur folgendes verstehe ich nicht ganz:
"You probably need to configure Assetic to use the installed binary. Change the path to the location of Node.js on your system."
PHP-Code:
# app/config/config.yml
assetic:
filters:
less:
node: /usr/local/bin/node
node_paths: [/usr/local/lib/node_modules]
apply_to: "\.less$"
cssrewrite: ~
braincrafted_bootstrap:
less_filter: less
Steht relativ am Anfang, nachdem ich "npm install -g less" gemacht habe.
Das nodejs ist bei mir an folgenden Ort über msi von nodejs.org (Windows) installiert worden: C:\Program Files\nodejs
Wie muss ich nun die Pfade(node und node_paths) oben anpassen?
Sry wenn ich da auf m Schlauch steh.
Regards.
Kommentar