This is a migrated thread and some comments may be shown as answers.

kendopanelbar causing You are using the runtime-only build of Vue ...

3 Answers 60 Views
This is a migrated thread and some comments may be shown as answers.
James B Furlong
Top achievements
Rank 1
James B Furlong asked on 04 Apr 2018, 09:28 AM

I had this working and have tried to identify what change caused this but since yesterday, when I try to render a vue with kedopanelbar I get the following in Firefox debugger:

[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build. found in ---> <KendoPanelbar> <LeftNav> at src\views\LeftNav.vue <App> at src\App.vue <Root>

The kendopanelbar is still being accessed but the error seems to be more to do with webpack etc.

Can anyone suggest where I can look please?

Brian

3 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 05 Apr 2018, 09:30 AM
Hello Brian,

The case is related to the Vue build that is set up as a module in Webpack. You can find out more here: https://github.com/vuejs-templates/webpack/issues/215.

Regards,
Ianko
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Kyler
Top achievements
Rank 1
answered on 18 Dec 2018, 09:54 PM
Can you provide more information on how to solve this issue?  I understand that in Vue 2 there is a runtime only version and a runtime+compiler version.  I used the Kendo Vue wrapper for Autocomplete successfully (without making changes to my app), but when I try to use the Kendo Vue wrapper for Grid, it throws the error mentioned above.  Are Kendo wrappers in .vue files (in which case they are pre-compiled)?  I don't want to include the compiler with the runtime, and I am not sure how to explicitly include the render function.
0
Ianko
Telerik team
answered on 19 Dec 2018, 12:02 PM
Hi Kyler,

The Kendo Vue wrappers utilize the template option of the components. Thus, using the runtime + compiler script is a must have when using the Kendo UI for Vue components. 

Regards,
Ianko
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
James B Furlong
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Kyler
Top achievements
Rank 1
Share this question
or