M
M
magary42017-09-19 11:53:59
symfony
magary4, 2017-09-19 11:53:59

Problem with assetic:dump?

I launch
app/console assetic:dump
and get an output that generated
64dd8c5-1b26c03.css
6e3bee5-8897371.css I
launch the site and in the code

<link rel="stylesheet" type="text/css" href="/css/6ea3cea-067d9cd.css">

I've been waving for the 2nd day with the cache, the environments, etc.
hash is always different and the file is never found in the end
, what could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis, 2017-09-19
@prototype_denis

The twig template must use the asset function

<script src="{{ asset('bundles/app/app.js') }}"></script>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question