技术栈
node.js, vue.js, axios, python, django, orm, restful api, djangorestframework, mysql, nginx, jenkins...执行python manage.py runserver启动服务,使用postman来调用http://127.0.0.1:8000/api/demo/hello/。...返回的数据,
{{info}}
{{ msg }}
同时在中使用axios添加ajax请求,请求http://127.0.0.1...$axios
.get('http://127.0.0.1:8000/api/demo/hello/')
.then(response => (this.info = response.data...$axios = axios;
new Vue({
render: h => h(App)
}).