I’m stuck, I don’t know where to place my css file for the entire project application.
My project/app/Resources/views/base.html.twig looks like this:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{% block title %}my app{% endblock %}</title>
<link href="{{ asset('/css/main.css') }}" rel="stylesheet" type="text/css" />
</head>
<body>
…
and my file is in:
project\app\Resources\public\css\main.css
But it never is loaded.
So, Where should I put the css file, and how to include it in my template?
thanks
Move the file to be at
project/web/css/main.css