0
electron-forge를 사용하여 만든 전자 각형 응용 프로그램에서 jquery를 가져 오려고합니다.electron-forge : jquery를 추가하십시오.
내가 다음 않았다 단계 :
설치 JQuery와
yarn add jquery --save
설치 유형
yarn add @types/jquery --save
는 app.module로 가져
나는 응용 프로그램을 시작했을 때
은 내가 garantied하지만 스크립트 배열 "scripts": [ "../node_modules/jquery/dist/jquery.js" ],
로와 구성 요소에 .angular-cli.json에 추가 할 수 없습니다
index.js:21 Uncaught ReferenceError: $ is not defined
at index.js:21