Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivanvit100/calc
Functionally WEB-based calculator
https://github.com/ivanvit100/calc
calculator sass scss vue
Last synced: about 1 month ago
JSON representation
Functionally WEB-based calculator
- Host: GitHub
- URL: https://github.com/ivanvit100/calc
- Owner: ivanvit100
- License: mit
- Created: 2022-07-21T16:35:33.000Z (over 2 years ago)
- Default Branch: components
- Last Pushed: 2022-10-14T13:35:25.000Z (over 2 years ago)
- Last Synced: 2023-03-06T17:28:47.063Z (almost 2 years ago)
- Topics: calculator, sass, scss, vue
- Language: Vue
- Homepage: https://calc.ivanvit.ru
- Size: 3.04 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
![preview](https://calc.ivanvit.ru/static/preview.png)
# Functionally WEB-based calculator---
## Links
You may find this on the [site](https://calc.ivanvit.ru)## Functionality
1. Basic calculator
2. Dark/light themes
3. Math functions (sin, cos, log etc.)
4. PWA (offline mode)
5. Currency converter## Technologies
1. Vue.js
2. SCSS
3. PWA
4. Fetch API## Build Setup
``` bash
# Install vue-cli
npm install --location=global vue-cli# Create vue-cli project
vue init pwa calc# Install dependencies
npm install# Copy repository
git clone https://github.com/ivanvit100/calc# 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# Push main branch
git push# Push for the GitHub Pages
git add -f dist && git commit -m "Commit name"
git subtree push --prefix=dist origin gh-pages
``