2 Unstar Star 4 Fork 0

BarZu / weixinvoteJavaScript

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
微信互投 spread retract

Clone or download
chjtx authored
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

weixinvote

微信互投项目,为了投票而做的项目,也是为了挑战自我做的项目

初始化项目

npm install

运行后台服务

npm run server

运行开发

在新的命令行

npm run dev

访问localhost:8099/,这样只能访问登录界面,有两个方案可运行全部

  • 方案一:注释server.js判断是否在微信的代码,并重新执行npm run server
  • 方案二:将api/api.dev.js里的localhost换成你的局域网地址,手机连局域网,用微信访问

打包

npm run build

然后运行localhost:8888/www/

Comments ( 1 )

Sign in for post a comment

JavaScript
1
https://gitee.com/chenjianlong/weixinvote.git
git@gitee.com:chenjianlong/weixinvote.git
chenjianlong
weixinvote
weixinvote
master

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542