https://mp.weixin.qq.com/wxopen/waregister?action=step1vue
# 安裝wafer2-client-sdknode
npm install wafer2-client-sdk --savemysql
# 安裝sass-loader和node-sasssql
npm install sass-loader node-sass --save-devvue-cli
# 安裝stylus-loader和stylusnpm
cnpm install stylus stylus-loader --save-devsass
# 全局安裝vue-cli學習
npm install --global vue-cliui
# 建立一個基於 mpvue-quickstart 模板的新項目spa
vue init mpvue/mpvue-quickstart my-project
# 安裝依賴
cd my-project
npm install
# 啓動構建
npm run dev
# mysql 學習
brew install mysql
mysql.server start
mysql -u root -p ****
show database;
use cAuth;
show tables;
desc cSessionInfo;
select * form cSessionInfo;
select create_time,open_id form cSessionInfo;
drop table test;
show tables;
alter table books add column count int default 0;