2017 © Pedro Peláez
 

yii2-extension yii2-vue

The Vue.js extension for the Yii framework

image

antkaz/yii2-vue

The Vue.js extension for the Yii framework

  • Monday, June 4, 2018
  • by antkaz
  • Repository
  • 1 Watchers
  • 5 Stars
  • 172 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 105 % Grown

The README.md

, (*1)

Vue.js Extension for Yii2


This is the Vue.js extension for Yii2., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Run, (*4)

php composer.phar require antkaz/yii2-vue

or add, (*5)

"antkaz/yii2-vue": "~1.0"

to the require section of your composer.json file., (*6)

Usage

After installing the extension, just use it in your code:, (*7)




[ 'data' => [ 'message' => 'Hello Vue!' ], 'methods' => [ 'reverseMessage' => new JsExpression("function() {this.message = this.message.split('').reverse().join('')}") ] ] ]) ?>

{{ message }}, (*8)

Alternative method without using a widget:, (*9)





{{ message }}, (*10)

The Versions

04/06 2018

dev-master

9999999-dev https://github.com/antkaz/yii2-vue

The Vue.js extension for the Yii framework

  Sources   Download

MIT

The Requires

 

by Anton Kazarinov

yii2 vue vue.js

01/03 2018

v1.0

1.0.0.0 https://github.com/antkaz/yii2-vue

The Vue.js extension for the Yii framework

  Sources   Download

MIT

The Requires

 

by Anton Kazarinov

yii2 vue vue.js