Skip to content

suefeng/calculator

Repository files navigation

calculator

A calculator project

Here's a calculator app built with Vue.js, with Jest unit tests and Nightwatch e2e tests.

This is an interactive calculator that can be used with button clicking as well as the keyboard. The ? button shows you the shortcuts for each button. Number buttons map directly with their keyboard values. This is screen reader friendly as well.

screenshot.png

The article about this app can be found here:

https://suefeng.com/portfolio/calculator/

The app can be found here:

https://letsdesign.space/play/calculator/dist/#/

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

About

an interactive calculator that can be used with buttons as well as keyboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •