hq
hq copied to clipboard
Example for equivalent of Vite in hqjs
Questions:
- Does hqjs work with vue 3?
- Is there example that is the equivalent of Vite but in hqjs?
- Is babel (.babelrc) only used in production build (hq build) or also in development (hq)?
- Any example on adding code coverage and unit testing that works with hqjs in development mode?
Vue 3 was experimental so released hq version does not support its new compiler yet. I have dev version that does it. Will prepare an example and release soon. It's pretty busy season, sorry for delays.
@layanto finally, I'm ready to release proper support of vue 3. So answering your questions:
- Vue 3 will be supported in the next release (today/tomorrow)
- I will check example with vite and prepare something similar for
hq
, but in fact any vue project no matter how you create it should work -
.babelrc
is being used during production and development - It really depends on your choice of test framework. I have no examples, but it should not be hard with mocha for sure as it is supports browser UI.