- Vue 3
- TypeScript
- Vuetify
- Pinia
- Vitest
- not allowing duplicate actions to appear
- handling API call failure in the UI
- mobile friendly UI
- drag'n'drop implemented with Vue Draggable
- I was actually thinking about adding some way of preserving actions, even after refreshing but - it actually made no sense. For example if I would preserve actions in local storage, then let's say some posts would be deleted from the server and after getting those preserved action the
Time travel
would cause problems as some posts from saved snapshot could not exist anymore but as I write it I'm thinking that I could filter out not existent post related actions before displaying those actions from local storage :)
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue
types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensions
from VSCode's command palette - Find
TypeScript and JavaScript Language Features
, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Window
from the command palette.
npm install
npm run dev
npm run test:unit
npm run build