Fix "[Vue warn]: You are using the runtime-only build of Vue" · Code with Hugo

added by JavaScript Kicks
11/26/2019 7:17:16 AM

1323 Views

This post explains how to fix "[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.". This error happens when using the Vue CLI and attempting to use a component that has its template defined as a string.


0 comments