Skip to content

treetips/ts-react-vite-tauri-camera-example

Repository files navigation

ts-react-vite-tauri-camera-example

Features

Name Version
VSCode latest
TypeScript latest
Node.js v16 LTS
Vite v3
React v18
react-webcam latest
SCSS latest
ESLint latest
Prettier latest
Vitest latest
React Testing Library latest

Requirements

  • Visual Studio Code

Setup

Install Hombrew

Install homebrew .

Install Hombrew Packages

brew install --cask \
  visual-studio-code

Usage

# install
npm i
# development
npm run tauri dev
# production
npm run tauri build

TIPS

Save the file in Tauri

Allow cameras in macOS security