0

I host my laravel-vue project on Cpanel sub-folder. My welcome page is

<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Laravel</title>
        <meta  name="csrf-token" content="{{csrf_token()}}">
        <link rel="stylesheet" type="text/css" href="{{asset('css/app.css')}}">
        <link rel="stylesheet" type="text/css" href="{{asset('css/animate.css')}}">
    </head>
    <body>
        <div id="app">
        <app></app>
         </div>
       <script src="{{asset('js/app.js')}}"></script>
    </body>
</html>

My page gets all sources but the Vue instance isn't rendered. If anyone found the issues. Please help me.

Ru Chern Chong
  • 3,692
  • 13
  • 33
  • 43

0 Answers0