简体   繁体   中英

Atom Editor: How to require javascript libraries?

I wanted to how I could require javascript libraries in coffeescript code? This is with reference to the Github's atom editor.

  1. Use Require.js
  2. In your coffeescript: require 'js-library'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM