티스토리 뷰

도토리

require.js

수달찌 2021. 4. 13. 19:33

html에서 vanillja Js를 script할때

import, require를 못쓰는 경우가 있는데,

이를 해결하기위해 찾으면서

require.js 모듈을 찾게되었다.

 

How to get started with RequireJS

Go to the download page and get the file. Note: For jQuery-specific advice, see the jQuery integration page This setup assumes you keep all your JavaScript files in a "scripts" directory in your project. For example, if you have a project that has a projec

requirejs.org

지금 쓸건 아니다, 하지만 언젠가 쓰일때가 있을 수 있다.

고것이 도토리이다.

'도토리' 카테고리의 다른 글

웹 한글2020  (0) 2021.05.03
벡터 아이콘 사이트  (0) 2021.04.21
Error: Cannot use import statement outside a module  (0) 2021.04.11
매개변수 초기화  (0) 2021.04.10
react-router vs react-router-dom  (1) 2021.03.24
댓글
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함