hq icon indicating copy to clipboard operation
hq copied to clipboard

Example for equivalent of Vite in hqjs

Open layanto opened this issue 4 years ago • 2 comments

Questions:

  1. Does hqjs work with vue 3?
  2. Is there example that is the equivalent of Vite but in hqjs?
  3. Is babel (.babelrc) only used in production build (hq build) or also in development (hq)?
  4. Any example on adding code coverage and unit testing that works with hqjs in development mode?

layanto avatar Jul 06 '20 05:07 layanto

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.

hqjs avatar Jul 14 '20 21:07 hqjs

@layanto finally, I'm ready to release proper support of vue 3. So answering your questions:

  1. Vue 3 will be supported in the next release (today/tomorrow)
  2. 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
  3. .babelrc is being used during production and development
  4. 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.

hqjs avatar Sep 24 '20 18:09 hqjs