I can't use the app.css in my application
I use
<link href="{{asset('css/app.css')}}" rel="stylesheet" type="text/css">
CodePudding user response:
By default the asset() helper starts with the /public
folder. If you have already taken this into account then the problem will only be that you have run small npm run dev
.
public/
|--- css/app.css
|---js/
<link href="{{asset('css/app.css')}}" rel="stylesheet" type="text/css">
= public/css/app.css
CodePudding user response:
Check your asset url in .env file. If it is missing add it in your .env file
ASSET_URL=public
and run php artisan config:cache.