作者:Android源代码 | 来源:互联网 | 2023-01-27 15:31
IwouldliketousethemobilelibraryforspineinRails3.1.0.Itriedaddingthefollowingtomy
I would like to use the mobile library for spine in Rails 3.1.0. I tried adding the following to my index.js.coffee:
我想在Rails 3.1.0中使用移动库进行书脊。我尝试将以下内容添加到我的index.js.coffee中:
#= require spine.mobile
and
和
#= require spine/mobile
But that both results in an error: couldn't find file
但这两者都会导致错误:无法找到文件
When using hem you can specify the dependencies in the slug.json file and run
使用hem时,您可以在slug.json文件中指定依赖项并运行
npm install .
How do I install dependencies using Rails/Sprockets?
如何使用Rails / Sprockets安装依赖项?
1 个解决方案