Closed atleta closed 7 years ago
Here's the exception trace as it's reported by vue:
[Vue warn]: Error in mounted hook: "TypeError: t.datetimepicker is not a function"
found in
---> <DatePicker>
<XEditorDialog> at src/components/XEditorDialog.vue
<X> at src/components/XEditor.vue
<App> at src/App.vue
<Root>
@atleta Believe you are using webpack, if so you need to adjust your webpack.config.js file
Similar #5
@atleta Closing due to no activity. Feel free to re-open.
That was quick ;). But yep, thanks, you were right, it solved the problem. And after your response, I found it in the README as well. The reason I missed it, is because I think the README is a bit illogical here. First it explains how to use it, and then it talks about the installation steps.
I think you should swap these, to make it easier for newcomers.
I'm submitting a ... (check one with "x")
Tell about your platform
Current behavior Adding it as a component (inside a component file) and it doesn't work. An empty input box shows up, but that's it. Here's the exception I see on the console:
Expected behavior Should work as described in the documentation
Minimal reproduction of the problem with instructions Follow the documentation.