Tauri 和 ReactJS - 创建现代桌面应用程序

视频地址

创建

npx create-react-app .
cd
npm i @tauri-apps/cli cross-env
npm i @tauri-apps/api
yarn build

// package.json
{
  // ...
  "resolutions": {
    "mini-css-extract-plugin": "2.4.7"
  }
}

yarn tauri init

yarn tauri dev
yarn tauri build

现在有了 create-tauri-app

p5 迁移到 vite

npm create vite tauri-react
# 可能报错: 文件名、目录名或卷标语法不正确。
yarn create vite tauri-react --template react

打包有问题,只能从target/release文件夹里得到exe


 上一篇
Spring Boot and Spring Security with JWT including Access and Refresh Tokens Spring Boot and Spring Security with JWT including Access and Refresh Tokens
视频链接 JWT 是什么 json web 令牌 Spring Boot 后端 jpa 实体类package org.malred.learnjwtsecurity.domain; import lombok.AllArgsC
下一篇 
Spring Security Core Beginner to Guru Spring Security Core Beginner to Guru
01 - Introduction git 02 - Introduction to Spring Security002 Application Security 101 003 Introducing Spring Securit
  目录