###前提・実現したいこと
プログラミング初心者です。
monacaでvue.js,onsenuiを用いてカレンダーアプリを制作しています。
https://github.com/GeoffZhu/vue-event-calendar#customization-event-template
↑のサンプルを使おうとしています。
###発生している問題・エラーメッセージ
iphoneでmonaca debugをすると、スマホ上にカレンダーのみが表示されません。
###該当のソースコード
↓のファイルをページの<v-ons-page>内にインポートしています。
<script> import Vue from 'vue'; Vue.component('calendar', { data: function() { return { demoEvents: [{ date: '2017/12/5', // Required title: 'Foo' // Required }, { date: '2017/12/15', title: 'Bar', desc: 'description', customClass: 'disabled highlight' // Custom classes to an calendar cell }] } }, template: `<vue-event-calendar :title="title" :events="demoEvents" @dayChanged="handleDayChange"></vue-event-calendar>` }) </script>
###試したこと
適当な文字を出力させたりしたところ、iphoneにはしっかり反映されました。
初心者なりに調べてみたのですが、皆目見当もつきません。
よろしければ、教えていただけると幸いです。
あなたの回答
tips
プレビュー