Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 897 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 897 Bytes

mongodb-vue

A Vue.js project

跨域处理

谷歌浏览器安装 Allow CORS: Access-Control-Allow-Origin

测试数据

data.json

导入数据

mongoimport -d lolTest -c myhero --file /Users/xxx/Desktop/a.json  --type json

Build Setup

preview

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.