I'm trying to understand Vue. Coming from angular2, I wanted to know if this documentation from Vuejs 2 is equivalent to angular2's AOT:
When using vue-loader or vueify, templates inside *.vue files are pre-compiled >into JavaScript at build time.
Yes. Using vue-loader or vueify will accomplish the same as AOT:
vue-loader and vueify supports AoT out of the box - which means any project scaffolded with vue-cli are already using AoT.
Source: https://github.com/vuejs/vue/issues/4272
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With