Answer the question
In order to leave comments, you need to log in
Can anyone help me get the Calendar up and running on vue?
Hello Forum,
can anyone help me to launch Calendar on vue?
This is the Calendar:
https://krystalcampioni.github.io/vue-hotel-datepicker/#gettingStarted
<div id="app">
<HotelDatePicker/></HotelDatePicker>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="assets/vue-hotel-datepicker-master/dist/vue-hotel-datepicker.min.js" type="module"></script>
<script src="assets/vue-hotel-datepicker-master/dist/start.js"></script>
import HotelDatePicker from 'vue-hotel-datepicker'
export default {
components: {
HotelDatePicker,
},
}
Answer the question
In order to leave comments, you need to log in
Start.js is going to be something? Judging by the c block <script>
, it's not going to, so import/export won't work right away in the browser.
The solution is to create a project with vue-cli (webpack) as they usually do, and not know such problems
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question