我試圖使用憲章與sails.js和我收到說沒有定義上Sails.Js
憲章錯誤]
我的代碼使用憲章m跑是
<%new Chartist.Line('.ct-chart', {
labels: [1, 2, 3, 4, 5, 6, 7, 8],
series: [
[5, 9, 7, 8, 5, 3, 5, 4]
]
}, {
low: 0,
showArea: true
});
%>
我不知道爲什麼會這樣,但我已經通過命令安裝憲章
NPM安裝憲章
謝謝您的時間,我希望我很快得到一些答案。
對於aditional的信息,這裏的鏈接chartist.js網站 [鏈接](https:// gionku nz.github.io/chartist-js/index.html) –