{"action":"created","issue":{"url":"https://api.github.com/repos/fex-team/yog2/issues/32","labels_url":"https://api.github.com/repos/fex-team/yog2/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/fex-team/yog2/issues/32/comments","events_url":"https://api.github.com/repos/fex-team/yog2/issues/32/events","html_url":"https://github.com/fex-team/yog2/issues/32","id":102278123,"number":32,"title":"怎么在别的目录使用短名调用其他目录的组件啊","user":{"login":"huqiliang","id":5379740,"avatar_url":"https://avatars.githubusercontent.com/u/5379740?v=3","gravatar_id":"","url":"https://api.github.com/users/huqiliang","html_url":"https://github.com/huqiliang","followers_url":"https://api.github.com/users/huqiliang/followers","following_url":"https://api.github.com/users/huqiliang/following{/other_user}","gists_url":"https://api.github.com/users/huqiliang/gists{/gist_id}","starred_url":"https://api.github.com/users/huqiliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huqiliang/subscriptions","organizations_url":"https://api.github.com/users/huqiliang/orgs","repos_url":"https://api.github.com/users/huqiliang/repos","events_url":"https://api.github.com/users/huqiliang/events{/privacy}","received_events_url":"https://api.github.com/users/huqiliang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-21T02:02:04Z","updated_at":"2015-08-30T06:33:30Z","closed_at":null,"body":"比如我在home的某个js中这样写 var $ = require('common:components/jquery/jquery.js');可不可以直接var $ =require('jquery') 在当前app是可以的 跨app应该怎样配置？"},"comment":{"url":"https://api.github.com/repos/fex-team/yog2/issues/comments/136092256","html_url":"https://github.com/fex-team/yog2/issues/32#issuecomment-136092256","issue_url":"https://api.github.com/repos/fex-team/yog2/issues/32","id":136092256,"user":{"login":"Luoxinfang","id":5428303,"avatar_url":"https://avatars.githubusercontent.com/u/5428303?v=3","gravatar_id":"","url":"https://api.github.com/users/Luoxinfang","html_url":"https://github.com/Luoxinfang","followers_url":"https://api.github.com/users/Luoxinfang/followers","following_url":"https://api.github.com/users/Luoxinfang/following{/other_user}","gists_url":"https://api.github.com/users/Luoxinfang/gists{/gist_id}","starred_url":"https://api.github.com/users/Luoxinfang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luoxinfang/subscriptions","organizations_url":"https://api.github.com/users/Luoxinfang/orgs","repos_url":"https://api.github.com/users/Luoxinfang/repos","events_url":"https://api.github.com/users/Luoxinfang/events{/privacy}","received_events_url":"https://api.github.com/users/Luoxinfang/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T06:33:30Z","updated_at":"2015-08-30T06:33:30Z","body":"你可以使用yog.require('common:components/jquery/jquery.js')"}}