Home

Awesome

License: MIT

NW-Vue3-Typescript-Pinia

NW-Vue3-Typescript-Pinia is an open-source project based on NW.js, Vue 3, Typescript, and Pinia, designed to help developers quickly build applications on the NW.js platform.

This project is heavily derived from nw-vue3-boilerplate.

Installation

  1. First, make sure you have installed Node.js and npm.
  2. Clone this repository:
git clone git@github.com:codeh2o/nw-vue3-typescript-pinia.git
  1. Navigate to the project directory and install the dependencies:
cd nw-vue3-typescript-pinia
npm install

Usage

Development

To run the development server for both web and desktop versions concurrently:

npm run dev

This command will start a web server using Vite on port 4175 and launch the desktop version of the app using NW.js after the web server is ready.

Building

To build the app, run:

npm run build

This command will clean the ./dist-vue and ./dist directories, build the web version using Vite, and build the desktop versions for Windows, Linux, and macOS using NW.js. The built executables will be located in the ./dist directory.

Other Commands

Technologies

This project uses the following technologies:

Alternatives

Contributing

We welcome and appreciate your contributions! If you would like to contribute code, please follow these steps:

  1. Fork this repository to your GitHub account.
  2. Clone your forked repository to your local machine.
  3. Make your changes and test them locally.
  4. Commit your changes.
  5. Create a pull request and describe the changes and reasons for them.

We will review your pull request and communicate with you promptly.

License

NW-Vue3-Typescript-Pinia is released under the MIT License. See the License file for details.