2016-02-13 78 views

回答

0

您需要在組件文件中使用import關鍵字。例如app/components/my-component

import Ember from 'ember'; 
import MyUtil from '../utils/my-util'; 

// ... you can use MyUtil here 
// ... rest of file 
+0

我收到一個錯誤未被捕獲的錯誤:找不到模塊'油漆//summernote'從'塗料/組件/所見即所得editor' –

+0

進口myutils讓我看看你的文件結構 –

+0

我添加了關於問題的圖像。 –

相關問題