BmobSDK的引入
将bmob js-sdk放在static目录,然后在index.html页面中已 script 标签的形式引入,就可以在vue中全局使用bmob js-sdk
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title></title>
[removed][removed]
</head>
<body>
<div id=app></div>
</body>
</html>
在assets目录新建一个js文件夹,再创建key.js 用来存