🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

vue-demo-test

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-demo-test

A Vue.js project

0.0.1
latest
Source
npm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

operation

A Vue.js project

Build Setup

# install demo
    npm install vuedemo --save
   
    cd vuedemo
    
# install dependencies
npm install

# serve with hot reload at localhost:8080

npm run start

按环境分执行命令

  • 开发:npm run start
  • 联调:npm run dev
  • 测试:npm run qa
  • 线上:npm run pub

上线部署流程

  • 执行 npm run pub 命令会产生dist文件夹
  • 把dist里的文件放在服务器相对的目录下
  • 访问app.html

主要事项

  • build.sh文件中执行的npm命令一定要把log输出到文件.
//例如:
((npm run pub) 2>&1) >> log.txt

Keywords

vuedemo

FAQs

Package last updated on 08 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts