vuejs / core

🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
https://vuejs.org/
MIT License
47.56k stars 8.31k forks source link

[wish] support Odoo qweb template engine #6814

Closed jeffery9 closed 2 years ago

jeffery9 commented 2 years ago

What problem does this feature solve?

support 3rd partner template engine, like qweb.

What does the proposed API look like?

template render engine are pluginable. can render qweb template.

sxzz commented 2 years ago

I think it can be supported by a plugin, just like vue-pug-plugin

jeffery9 commented 2 years ago

qweb is template language more like vue template, the link is https://github.com/odoo/owl/blob/master/doc/reference/templates.md

sxzz commented 2 years ago

It could be supported by a 3rd party plugin, instead of official support by vuejs.

LinusBorg commented 2 years ago

We won't support other template languages in Vue core, that's work we have no resources to do and also don't see a real benefit.

3rd party plugins to build tooling can be used to transform other templating languages into vue-compatible HTML, that's the best shot you have.