Zoocoral
Zoocoral

Reputation: 21

Sylius No css and images, nothing in /web/assets directory

i just installed Sylius, all seems to be ok but when i launch app_dev.php, I have no css and JS.

I checked /web/assets/ : directory is empty

Can you help me?

Thank you

Upvotes: 1

Views: 1438

Answers (2)

Stan Fad
Stan Fad

Reputation: 1234

Installing assets

In order to see a fully functional frontend you will need to install its assets.

Sylius already has a gulpfile.js, therefore you just need to get Gulp using Node.js.

Having Node.js installed go to your project directory and run:

$ npm install

And now you can use gulp for installing views, by just running a simple command:

$ npm run gulp

Although if you have Gulp installed globally then run just:

$ gulp

http://docs.sylius.org/en/latest/book/installation/installation.html#installing-assets

Upvotes: 2

Bruno
Bruno

Reputation: 1128

you have to run gulp, see "Installing assets" : http://docs.sylius.org/en/latest/book/installation.html#installing-assets

Upvotes: 0

Related Questions