{"action":"created","issue":{"url":"https://api.github.com/repos/7encent/qcdnjs/issues/1","labels_url":"https://api.github.com/repos/7encent/qcdnjs/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/7encent/qcdnjs/issues/1/comments","events_url":"https://api.github.com/repos/7encent/qcdnjs/issues/1/events","html_url":"https://github.com/7encent/qcdnjs/issues/1","id":116529621,"number":1,"title":"技术选型","user":{"login":"alsotang","id":1147375,"avatar_url":"https://avatars.githubusercontent.com/u/1147375?v=3","gravatar_id":"","url":"https://api.github.com/users/alsotang","html_url":"https://github.com/alsotang","followers_url":"https://api.github.com/users/alsotang/followers","following_url":"https://api.github.com/users/alsotang/following{/other_user}","gists_url":"https://api.github.com/users/alsotang/gists{/gist_id}","starred_url":"https://api.github.com/users/alsotang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alsotang/subscriptions","organizations_url":"https://api.github.com/users/alsotang/orgs","repos_url":"https://api.github.com/users/alsotang/repos","events_url":"https://api.github.com/users/alsotang/events{/privacy}","received_events_url":"https://api.github.com/users/alsotang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-11-12T11:13:45Z","updated_at":"2015-12-27T07:29:04Z","closed_at":null,"body":"数据库：无\r\n同步机制：写个爬虫每10分钟全量同步一次 https://cdnjs.com/，保存为 json 文件。https://github.com/cdnjs/cdnjs/tree/master/ajax/libs\r\n前端框架：react 或其他。webpack\r\ncss：less 或其他\r\n模板：handlebars 或 jade 或 其他\r\n后端：Node.js, ES6, co(https://github.com/tj/co), koa\r\n服务器：digitalocean，怕 cloudflare 国内被封，到时候搞起来麻烦。静态资源走腾讯 cdn。\r\n域名：待定\r\n证书：alsotang 负责。不急。"},"comment":{"url":"https://api.github.com/repos/7encent/qcdnjs/issues/comments/167390915","html_url":"https://github.com/7encent/qcdnjs/issues/1#issuecomment-167390915","issue_url":"https://api.github.com/repos/7encent/qcdnjs/issues/1","id":167390915,"user":{"login":"koi646","id":7830825,"avatar_url":"https://avatars.githubusercontent.com/u/7830825?v=3","gravatar_id":"","url":"https://api.github.com/users/koi646","html_url":"https://github.com/koi646","followers_url":"https://api.github.com/users/koi646/followers","following_url":"https://api.github.com/users/koi646/following{/other_user}","gists_url":"https://api.github.com/users/koi646/gists{/gist_id}","starred_url":"https://api.github.com/users/koi646/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koi646/subscriptions","organizations_url":"https://api.github.com/users/koi646/orgs","repos_url":"https://api.github.com/users/koi646/repos","events_url":"https://api.github.com/users/koi646/events{/privacy}","received_events_url":"https://api.github.com/users/koi646/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T07:29:04Z","updated_at":"2015-12-27T07:29:04Z","body":"后端渲染的话可以引入css和图片,判断一下是浏览器还是服务器环境,配合webpack,用require引入就可以了"}}