Simple loading html content using ajax
Passing data from server in json format
Simple pjax with forms and links
CRUD grid with ajax and modal windows
-
Install the application via composer using the following commands:
composer global require "fxp/composer-asset-plugin:*"
composer create-project --prefer-dist --stability=dev vkabachenko/yii2-js yii2-js
cd yii2-js
-
Create a new database and adjust the
components['db']
configuration inconfig/web.php
file. -
Apply migrations with console command
yii migrate
. This will create tables needed for the application to work. -
Now you should be able to access the application through the following URL:
http://localhost/yii2-js/web/