<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png">
    <br>
    <button type="button" class="btn btn-primary"
    data-bs-toggle="modal" data-bs-target="#exampleModal">
      Otevřít modal
    </button>

    <div class="modal fade" id="exampleModal">
      <div class="modal-dialog"> 
        <div class="modal-content">
          <div class="modal-header">
            <h5 class="modal-title">TEST</h5>
          </div>
          <div class="modal-body">
            <p>TOTO JE TEST K MODAL</p>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-secondary"
            data-bs-dismiss="modal">Zavřít</button>
          </div>
        </div>
      </div>
    </div>



    <HelloWorld msg="Welcome to Your Vue.js App"/>
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue'

export default {
  name: 'HomeView',
  components: {
    HelloWorld
  }
}
</script>
