-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Guide
Some tools are required for developing with Vue Admin. You will need:
- Nodejs v5.x
- NPM v3.x
- Git
- Python 2.7
Nodejs and NPM are available here: Nodejs.org version 5.x
Git is available here:
As described in node-gyp installation, Python 3.x.x is not supported
There are several approaches.
-
Clone the source code with Git:
Execute
git clone [email protected]:vue-bulma/vue-admin.git
in your GitBash or command line. -
Download the zip file from browser:
Visit Vue Admin Download
After you got repository, change work directory and install dependencies by executing following commands in Git Bash:
cd vue-admin
npm install
There are several commands you can use for running Vue Admin locally in different environment.
npm run dev
will open your default browser and run project in develop mode. You will be able to make your changes
npm run build
will package your source code into/dist
directory for production deployment.
Electron can build desktop application based on web project without being tangled up in compatibility issue.
Command for running Vue Admin as an Electron app is provided, but you need to install electron globally by executing
npm install electron -g
Here is a way that can accelerate Electron installation on Windows.
Download the compatible zip file from electron release or electron mirror
Put the file under directory C:\Users\YOURUSERNAME\.electron
execute
npm install electron -g
now.
Once the process ends, execute electron
and an Electron form will be opened.
Then you can run this command under project directory
npm run electron
will build the project and show you an desktop application with Vue Admin.