我刚开始使用Symphony 4,却无法使自己的样式生效。我已经看过这个solution,但仍然无法正常工作。我的风格在public/styles/main.scss
这是我的html:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}Welcome!{% endblock %}</title>
{% block stylesheets %}
<link href="{{ asset('stlyes/main.scss') }}" rel="stylesheet"/>
{% endblock %}
</head>
<body>
<header> This is the header </header>
{% block body %}{% endblock %}
{% block javascripts %}{% endblock %}
<footer> This is the footer </footer>
</body>
</html>