This is a repo for Vue apps and the build system (powered by vite) used by the MCW Interactive Tools project, aiming to explore how interactive tools and calculators might benefit reader experience.
If you are interested in this project, feel free to join the thread in #project-forum on MCW Discord.
- Clone the repo
- Run
pnpm install
(if you don't have pnpm installed then install it first usingcorepack prepare pnpm@latest --activate
) - Run
pnpm run dev
- Run this in your browser console with MCW open:
localStorage.setItem('mcwCalcLocal', 'true')
- Go to User:Dianliang233/calc-sandbox for a list of all tools; to invoke a specific tool use this
<div id="app"></div>
- If you want to quit development mode, don't forget to run
localStorage.setItem('mcwCalcLocal', 'false')