Which folder to install ember-cli in symfony 3.1 and how to set up the whole thing correctly and conveniently. Those. maximum automation (compilation of less, deploy, etc., etc.). At least if you can throw a reference to actual information, please !! =)

    1 answer 1

    • Look towards gulp 'a. This is a task-manager who can perform any tasks related to the frontend part and not only.
    • To load all the necessary dependencies, use the npm capabilities, namely create the package.json file, in which you specify all the dependencies (maybe there is a better way, it is worth looking).
    • If you want to automate this when spilling, you can refer to the composer 'y, namely its scripts directive, for example in SF3:

       "scripts": { "post-install-cmd": [ "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets" ], "post-update-cmd": [ "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets" ] },