인턴 사이트의 튜토리얼은 npm을 사용하여 인턴을 취득하는 것으로 시작하지만 인턴 소스 코드의 최신 릴리스를 다운로드했습니다. (I는 NPM을 사용하지 않는)이이인턴을 Dojo 프로젝트에 어떻게 추가합니까?
이|myapp
|app
|tests
|unit
|functional
main.js
|third-party
|dojo-release-1.10.6
|intern-3.4.2
index.html
이제 내 index.html을 내가 추가처럼 내 응용 프로그램 폴더 구조 인 I을이 후
packages: [
{ name: 'dojo', location: 'third_party/dojo-release-1.10.6-src/dojo' },
{ name: 'intern', location: 'third_party/intern-3.4.2' },
],
을 config (설정) 내 패키지 다음 intern.js를 배치 하시겠습니까?
'intern/intern.js' 안에 넣고'require ("intern/intern.js")'와 같이 가져옵니다. –