ZOYKUHot Board

dnature/gridsome-electron-boilerplate技術ドキュメント

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

目次 (TOC) (2 セクション)▾
言語フォールバック:本リポジトリの日本語ドキュメントはまだ提供されていないため、原文の公式英語ドキュメント(English)を表示しています。
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! 🤓

GitHub 公式リポジトリからアーカイブされたドキュメントミラー · GitHub リポジトリを表示
スナップショット取得日: 2026-11-09