# App Generation
To generate this app from sratch run the following:
# Part 1 - Automated
- Install Vue globally -
npm install -g @vue/cli - Create Vue App
vue create template-electron-vuex-vuetify- Please pick a preset:
- Manually select features
- Features (All Yes)
- Babel
- TypeScript
- Progressive Web App (PWA) Support
- Router
- Vuex
- CSS Pre-processors
- Linter / Formatter
- Unit Testing
- E2E Testing
- Use class-style component syntax?
- Yes
- Use Babel alongside TypeScript?
- Yes
- Use history mode for router?
- Yes
- Pick a CSS pre-processor:
- Sass/SCSS (with dart-sass)
- Pick a linter / formatter config:
- ESLint + Prettier
- Please pick a preset:
- Pick additional lint features: * Lint on save
- Pick a unit testing solution:
- Jest
- Pick an E2E testing solution: Cypress
- Where do you prefer placing config:
- In dedicated config files
- Pick a unit testing solution:
- Add Vuetify UI framework
vue add vuetify- use
Default
- use
# Part 2 - Manual steps
- Remove Jest, will be replaced by Vitest (opens new window)
- remove test folder
- remove dependencies
npm remove @types/jest jest ts-jest @vue/vue3-jest @vue/cli-plugin-unit-jest babel-jest @vue/cli-plugin-babel
Create Vite template (opens new window) for copying Vite config
- create blank vite-vue app
npm create vite@latest my-vue-app -- --template vue - copy accross folders
cypressand.vscode - copy acresss all the conig files
- create blank vite-vue app
Add Electron, Vitest and Vite
- add configs
package.json,vite.config.ts,electron.jsandelectron/preload.jsfollow this Vite + Vue 3 + electron + TypeScript (opens new window) - add dependencies
- add configs
npm install vitest vue-tsc jsdom start-server-and-test @types/jsdom @types/node @vue/tsconfig @rushstack/eslint-patch @vitejs/plugin-vue concurrently cross-env electron electron-builder wait-on @types/electron-devtools-installer vite --save-dev
# Create Videos and GIF
Here Free Cam (opens new window) is used to create videos and after that a online converter ezgif (opens new window) is used to convert videos to GIF.
Its the main window of free cam video recorder , after clicking on New recording the video recording will get start.
Need to select video in Choose file option from [ezgif] site and Upload video! for GIF conversion.