I'm relatively new to Laraval and VUE and I got stuck with blade @section that gives me strange behaviour. When I move my view component inside a @section it is no longer showing up. Hello test1 is displaying with VUE component but Hello test2 is displaying but not the VUE component.
@extends('layout')
{{--test1--}}
<h1>Hello test1 </h1>
<div id="app">
<example-component></example-component>
</div>
{{--test2--}}
@section('content')
<h1>Hello test2</h1>
<div id="app">
<example-component></example-component>
</div>
@endsection
I saw here: How to Install Vue.js in Laravel 8 step 5 that I should add id="app" to my layout file not sure how to implement that.