CSSの記述が5倍速くなると言われているLESSをFuelPHPに入れてみようというお話です。 今回はこちらのFuelPHP用にパッケージ化されたfuel-lessを使用します。クローンしておきましょう。 ⇒ https://github.com/kriansa/fuel-less git clone –recursive git://github.com/kriansa/fuel-less.git 7ステップに分けて実装していきます。 1.assetsまでのパスをdefineしておく まずはassetsまでのパスを次のようにASSETSPATHとして定義しておきます。 public/index.php /** * The path to the framework core. */ define(‘COREPATH’, realpath(__DIR__.’/../fuel/core/’)