webpack引入handlebars報錯'You must pass a string or Handlebars AST to Handlebars.compile'

背景: webpack作爲一個部分替代打包工具和模塊化工具的優秀選擇出現,作爲嘗試,也爲了構建自己習慣的前端開發方式,我嘗試了將webpack和自己常用handlebars模板引擎結合.整體項目背景爲: koa + webpack + handlebars + jquery 這樣的結構. 嘗試: 使用sixstone腳手架生成的項目結構;在靜態資源目錄public下放置webpack.config
相關文章
相關標籤/搜索