2017-04-11 2 views
0

JSPMオーバーライド私はjspm install select2は私がjspm_packages/github/select2/[email protected]変更メインファイルのメインファイルが</p> <p>を使用する

define(["github:select2/[email protected]/js/select2"], function(main) { 
    return main; 
}); 

で次のように自動生成されたファイルを取得しないとき、私は代わりにそれを使用したいです"github:select2/[email protected]/js/select2.full"これはどのように達成するのですか?

答えて

0

ああ、got it

jspm install select2 --override "{ main: 'js/select2.full'}"

関連する問題