摘要: nuxt 阅读全文
posted @ 2018-05-03 14:15 gyz418 阅读(911) 评论(0) 推荐(0)
摘要: koa 链接: koa2 获取后端接口,提供给前端使用 跨域 其他 【引入模板文件】 const fs = require('fs'); ctx.response.body = fs.createReadStream('./template.html'); 【原生路由: url请求判断 】 if ( 阅读全文
posted @ 2018-05-03 13:45 gyz418 阅读(298) 评论(0) 推荐(0)