-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Vue warn]: Unknown custom element: <calendar> - did you register the component correctly? #30
Comments
Perhaps it would be useful to include the demo code in an /example folder in /src |
The installation console said this: npm WARN quasar-calendar@0.3.0 requires a peer of quasar-framework@^0.16.0 but none is installed. You must install peer dependencies yourself. As it turns out, just installing quasar-framework --save failed to complete the install; a missing file. |
Here is a sequence: install quasar-framework, then install quasar-calendar. Here's the trace:
npm install --save quasar-calendar
|
Did you add the necessary component registration in the component you're using the calendar on? e.g. <template>
<q-page>
<calendar />
</q-page>
</template>
<script>
import { Calendar } from 'quasar-calendar';
export default {
components: {
Calendar
}
}
</script> |
When you go through all of the steps, and you install quasar-calendar, how do you deal with this npm message? |
If you've already installed quasar, then you can simply ignore this
warning. It's working fine for me.
…On Thu, 9 Aug 2018, 03:18 Jack Park, ***@***.***> wrote:
When you go through all of the steps, and you install quasar-calendar, how
do you deal with this npm message?
npm WARN ***@***.*** requires a peer of quasar-framework@^0.16.0
but none is installed. You must install peer dependencies yourself.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABqBW2eUUqbWCSdrJeCjiyHIhoTfLtzHks5uO3_ygaJpZM4VtMe8>
.
|
It is for me as well. Thanks! |
That's the message I get if I follow the instructions on the ReadMe:
quasar-calendar is in node_modulesThere was this compiler warning (not crash)
warning in ./src/pages/Calendar.vue
17:2-16 "export 'default' (imported as 'vue_script') was not found in '!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Calendar.vue'
This is not a Q- to put in quasar.config.js, and there are no instructions to create a Vue component.
I must have missed something.
The text was updated successfully, but these errors were encountered: