How to place vue variable inside a laravel bracket

Posted 2 years ago by jay_gorio

I am having problem displaying the vue variable output when using it together with laravel. Below is my code.

     <input type="text" 
               class="form-control search-bar__input" 
               placeholder="Search Courses, Interests, Schools or Institutions" 
        <ul class="list-group">
            <li class="list-group-item" v-for="course in courses">
                <a href="{{ route( '', @{{}} ) }}">@{{ course.title }}</a>

In the above code I make used of @{{}} inside the route in the a element. However it seems it is not working. Can anyone help me on this.

Please sign in or create an account to participate in this conversation.