The vue project is packaged into a desktop installation software

The first step is to package the project written by vue, and a dist directory will be generated, which everyone should know.

The second step is to download the packaging configuration items.

Copy the link below to download, there will be a package.json configuration file

git clone https://gitee.com/yyyyong/toDesk_file.git

The third step is to pack.

Copy the files in the dist directory packaged by the vue project to the same directory as package.json.

As far as so many files are concerned, individual situations are different. In a word, it is all the files in the dist.

Next, open the command line tool in this directory and run two commands.

npm install

npm run dist

A dist folder will be generated, which contains the packaged configuration file and the application program with the suffix exe below.

Double-click to open it, which is a success.

But (but), it cannot be installed.

To install, the following configuration is required,

the fourth step

Download a software to use with

Software address: https://jrsoftware.org/isdl.php

After downloading, install it directly, and open it, you will enter the following interface, (this software is in English, if you are not good at English, you can find the Chinese version on Baidu)

↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

Company name and website can be defaulted directly.

↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

This is the default, and you can choose it when you install it.

↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

This step is the most important.

1→ Here, select the exe application in the 64-bit folder in the dist folder packaged in the above steps.

2→ Here, select the previous folder of the exe application, which is the 64-bit folder.

↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

Next, go directly to next, and then go to this step

↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

next directly next

Then install the packaged program directly

you're done

If you still need to change the configuration inside, please go to the official website to view the documentation.

This article is written by myself, if there is something wrong, please point it out, and we can solve the problem together.

Guess you like

Origin blog.csdn.net/qq_45802269/article/details/129065655