Symfony 2 configuration page has no style

I have a very simple question for which I cannot find the answer here in stackoverflow.

I am learning Symfony2. I'm having problems with the web / config.php page (right at the beginning, so a good start) - all the text loads, but it has no style (as you can see in the tutorials on the Symfony website. Despite investigating this, I could not find a specific problem answer

Any help on this rudimentary question would be appreciated - as I just started, I donโ€™t know what other information I can provide, however I assume that this is what someone has experienced before. (

+6
source share
1 answer

It seems that you did not set static assets correctly.

From your shell

$ cd /path/to/project $ php app/console assets:install web # Alternatively, if you're using a filesystem that supports symbolic links $ php app/console assets:install web --symlink 

then refresh the configuration page - this should do it.

+11
source

Source: https://habr.com/ru/post/974848/


All Articles