2014-02-17 69 views
0

我有一個靜態目錄,其中包含css /,js /,fonts /和images /的子目錄。下載EpicEditor後,我把epiceditor.min.js在js /目錄下,並在我的HTML這一行:EpicEditor:主題找不到

<script type="text/javascript" src="/static/js/epiceditor.min.js"></script> 

但是這給出了一個錯誤:

GET http://0.0.0.0:6543/static/js/epiceditor.min.js/themes/base/epiceditor.css 404 (Not Found) 

如果我改用對於EpicEditor單獨的目錄:

<script type="text/javascript" src="/epiceditor/js/epiceditor.min.js"></script> 

這是我的錯誤:

GET http://0.0.0.0:6543/epiceditor/js/epiceditor.min.js 404 (Not Found) 

如何更改href以指向正確的位置?或者,我應該在哪裏放置EpicEditor的各種文件?

回答

0

我意識到我一直在做錯了:basePath選項應該有一個導致EpicEditor主題的文件路徑。