我想在Laravel 4上安装SASS.
原文链接:https://www.f2er.com/laravel/130347.html我正在运行作曲家,并让我的composer.json设置如下:
{ "name": "laravel/laravel","description": "The Laravel Framework.","keywords": ["framework","laravel"],"license": "MIT","require": { "laravel/framework": "4.0.*","cartalyst/sentry": "2.0.*",},"autoload": { "classmap": [ "app/commands","app/controllers","app/models","app/database/migrations","app/database/seeds","app/tests/TestCase.PHP" ] },"scripts": { "post-install-cmd": [ "PHP artisan optimize" ],"post-update-cmd": [ "PHP artisan clear-compiled","PHP artisan optimize" ],"post-create-project-cmd": [ "PHP artisan key:generate" ] },"config": { "preferred-install": "dist" },"minimum-stability": "dev" }
我想知道在作曲家中是否有一种非常简单的方法可以将其添加为项目依赖性.
我想这样做的原因是因为它更易于管理,从长远来看它有助于构建.
如果有另一种方法来做它并安装grunt来缩小css / js那么那就更好了.
谢谢.