2016-02-26 37 views

回答

1

CDN (內容傳送網絡)是接受文件或使用文件引用作爲腳本的src的方法之一。一些流行的網絡是:

  1. https://cdnjs.com/libraries/globalize
  2. http://www.asp.net/ajax/cdn#Globalize_Releases_on_the_CDN_12
  3. http://www.jsdelivr.com/projects/globalize

CDN. Just choose your choice of library from here.


把這個庫如果您已經安裝了,那麼你可以使用的NodeJS在全局/本地加載該模塊。使用這個命令:

npm install globalize //<----this command will install this file locally 
npm install globalize -g // -g flag will install it globally in the installed node modules. 
+0

怎麼樣在這個例子中使用的globalize.culture.de-DE.js(在我的例子中是FR-FR)? – Carly