Yii 2 Angular is a boilerplate for Yii 2 + angular. It is based on Yii 2 Basic Application
- Download/clone this repo
git clone https://github.com/amnah/yii2-angular.git
- Copy env.php.example file to env.php and modify as needed
- Install packages and run migration
php composer.phar global require "fxp/composer-asset-plugin:~1.1.1" --prefer-dist
php composer.phar update --prefer-dist
npm install
php yii migrate --migrationPath=@vendor/amnah/yii2-user/migrations
- Build assets
gulp build
gulp watch # for development
- Set up apache/nginx vhost and visit site
The Vue version. This is currently on a separate branch.
The instructions for setting it up are exactly the same - just download the zip archive and use that instead