hqjs / hq

Lightning fast, zero configuration, web application development server
https://hqjs.org
MIT License
126 stars 11 forks source link

Example for equivalent of Vite in hqjs #18

Open layanto opened 4 years ago

layanto commented 4 years ago

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?
hqjs commented 4 years ago

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 commented 4 years ago

@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.