ZOYKUHot Board

dnature/gridsome-electron-boilerplateDokümantasyon

Salable, and focused on developer experience for building desktop apps with electron and gridsome. Includes typescript support for gridsome.

İçindekiler (2 bölüm)▾
Dil Bildirimi:Yerelleştirilmiş belge bulunmuyor. Orijinal resmi İngilizce sürüm görüntüleniyor.
npm i gridsome-electron-boilerplate

Hardocs Client integrating Gridsome and Electron.

Note: This project has only being tested on a linux machine and it's working perfectly. This is open source so feel free to contribute. :)

Prerequisites:

  • Electron 8+ - install globally with npm i -g electron@latest
  • Gridsome - install npm install --global @gridsome/cli
  • Typescript (Optional) - install globally with npm i -g typescript

Quick start

If you have the Gridsome CLI installed, simply run:

gridsome create <YOUR_PROJECT_NAME> https://github.com/DNature/gridsome-electron-boilerplate

After creating your project, skip to the second step and continue till the end.

If you done have Gridsome CLI then follow these steps.

  1. Clone the project:
git clone https://github.com/DNature/gridsome-electron-boilerplate.git <YOUR_PROJECT_NAME>

# if <YOUR_PROJECT_NAME> is not specified then it defaults to gridsome-electron-boilerplate
  1. Move to the appropriate directory: cd <YOUR_PROJECT_NAME>.

  2. Run yarn or npm install to install all the necessary dependencies.

  3. Run npm run grant or yarn grant to make startServer.sh executable.

  4. Run yarn start or npm run start to start the server.

  5. enter your environment.

  • prod or production for production environment.
  • dev or development for development environment.

Now you're ready to rumble! 🤓

Resmi GitHub deposundan arşivlenmiş belge aynası · GitHub'da Gör
Anlık görüntü tarihi: 2026-11-09