A simple calculator implemented using the Sygnal framework with fully commented code
Clone the repository
git clone https://github.com/tpresley/sygnal-calculator.git
Or download it as a template using degit
npx degit tpresley/sygnal-calculator sygnal-calculator
Install dependencies
cd sygnal-calculator
npm install
Run a live dev server with hot reloading using Vite
npm run dev
Build a compiled and distributable version
npm run build
the compiled version will be in the 'dist' folder
To serve the compiled site locally
npm run preview
Or copy the contents of the dist folder to the web server of your choice