Repository responsible for showcasing the test done for an interview with Vizir.
- Clone the repository;
- Install the dependencies using
yarn
; - Install Quasar's cli using
yarn global add @quasar/cli
.
- Works similarly to
@vue/cli
- Run
quasar dev
to start the development server orquasar build
to make a production build into./dist
.
- Quasar can be configured with quasar.conf.js, quasar.extensions.json and quasar.testing.json.
- This is where you also configure your webpack.
- ESLint can be configured with .eslintrc.json.
- Babel can be configured with babel.config.js.
- The theme is based on SASS variables which can be altered with the quasar.variables.sass file.
Testing can be done using @quasar/cli
or by running the scripts in the package.json
. Though it is recommended to stick to @quasar/cli
.
quasar test --unit jest
quasar test --e2e cypress
Both can be tested by combining the commands as follows: quasar test --e2e cypress --unit jest
the test files are located in ./test
and Cypress generates videos and screenshots when an error occurs, those can be found inside ./test/cypress
.
This is a small project that follows the requirements given by the company, feel free to open a pull request or issue, however I am likely to close it. The repository serves only for showcase.