Skip to content

Latest commit

 

History

History
96 lines (86 loc) · 2.54 KB

README.md

File metadata and controls

96 lines (86 loc) · 2.54 KB

electron-template-next

Quick to build a modern electron app!

Features ✨

About Env 🌌

  • Node version need >=16
  • You need install pnpm first!

    npm i -g pnpm

How to use? 🤨

Step1:clone this project
Step2:pnpm i
Step3:make your components in src/**
Step4: make your test code in test/**
Step5: run scripts (dev/build/preview/test/lint)

that's all, happy hacking!

Script 🪃

  • dev
  • build
  • preview
  • test
  • lint

Catalog 📑

├─.vscode
├─dist
├─coverage
├─node_modules
├─public
├─.eslintrc
├─.eslintignore
├─.gitignore
├─.prettierrc
├─.prettierignore
├─index.html
├─package.json
├─pnpm-lock.yaml
├─README.md
├─tsconfig.json
├─vite.config.ts
├─electron
    ├─ipc_main
    ├─preloads
    ├─windows
    ├─electron-env.d.ts
    ├─env.ts
    └─index.ts
└─src
    ├─app
    | ├─@types
    | ├─apis
    | ├─components
    | ├─constants
    | ├─hooks
    | ├─pages
    | ├─routers
    | ├─stores
    | ├─theme
    | ├─utils
    | ├─App.tsx
    | └─index.ts
    ├─shared
    | ├─components
    | ├─hooks
    | └─utils
    ├─test
    | └─setup.ts
    ├─index.css
    ├─index.tsx
    └─env.d.ts