tss/assets-install-windows-bundle

使用mklink创建类似的assets:install符号链接,适用于Windows

dev-master 2013-04-11 05:36 UTC

This package is not auto-updated.

Last update: 2024-09-14 14:39:55 UTC


README

使用mklink在Windows中创建assets:install符号链接

安装说明

  • 最简单的方式是通过composer安装,将这些行添加到./composer.json

    ```
    "require": {
      ...
      "tss/assets-install-windows-bundle": "dev-master"
    }
    

 
  and then run ```composer.phar install```

- Then enable the bundle in ```./app/AppKernel.php```:
    
    ```
    public function registerBundles()
    {
        $bundles = array(
                ...
                new TSS\AssetsInstallWindowsBundle\TSSAssetsInstallWindowsBundle(),
            );
    }
  • 现在您可以在Windows >= Vista上创建assets符号链接了

    app/console tss:assets:install web

享受吧 :)

PS:感谢@Dilibau提供的提示