runtime-only build error (while using with Nativescript-Vue
See original GitHub issueI was trying to use Nativescript-Vue with vue class style components
Here is my file - pretty standard and simple
<template>
<StackLayout xmlns="http://schemas.nativescript.org/tns.xsd">
<Label :text="message"></Label>
<TextView v-model="message"></TextView>
</StackLayout>
</template>
<script>
import Vue from 'vue'
import Component from 'vue-class-component'
@Component
export default class Home extends Vue {
message = "HOME IS HERE"
}
</script>
I keep encountering this error “You are using the runtime-only build of Vue where the template compiler is not available.”
I am confused, because in my entire project I have only used sfc. So there are no string templates anywhere.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
NativeScript Vue - Android Build error under Windows 10 (ns ...
while building a simple NativeScript Application I got an Error during running this command: ns build android --release --key-store-path ...
Read more >[Solved]-Error while using React-table.js in Vue.js-Vue.js
So I recreated the project and it worked fine for me, below are set of dependencies I used. I think your case it...
Read more >Simple Vue.js Form Validation with Vuelidate
Form validation with Vue.js can be surprisingly tricky. In this article, we see how Vuelidate can be used to make things easier.
Read more >Installation - NativeScript-Vue
To use NativeScript-Vue, you need to set up your system to compile your apps. Prerequisites. Node.js; NativeScript CLI. Node.js. Download and install the ......
Read more >Consume Remote API Data Via HTTP In A Vue.js Web ...
When building a modern web application, chances are that you'll need to consume data from some remote resource, whether it be one that ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For those who end up here playing around with Vuido, you need to set an alias for Vue to Vuido.
If using webpack directly:
If you want to use
@vue/cli
I’m still working on that, but you need avue.config.js
file.Oh! happy to hear that 😄