作者:fengfeng | 来源:互联网 | 2023-05-18 05:32
UsingtheRailsassetspipelineandapluginforrequire.js,IcanuseCoffeeScript,SASS,filesorg
Using the Rails assets pipeline and a plugin for require.js, I can use CoffeeScript, SASS, files organized however I like and get it all compiled to a single Javascript and single CSS file for production. Is there a matching setup for use with Django? It needs to support the above, CofeeeScript, SASS, Require.JS with a development mode where files are served individually as well as a production mode where everything gets compiled into single files.
使用Rails资产管道和require.js的插件,我可以使用CoffeeScript,SASS,我喜欢组织的文件,并将其全部编译为单个Javascript和单个CSS文件进行生产。是否有与Django一起使用的匹配设置?它需要支持上面的CofeeeScript,SASS,Require.JS以及单独提供文件的开发模式以及将所有内容编译成单个文件的生产模式。
1 个解决方案