2017 © Pedro Peláez
 

yii2-extension yii2-vuejs-assets

This assets allow to use vueJs in your Yii2 application

image

tolik505/yii2-vuejs-assets

This assets allow to use vueJs in your Yii2 application

  • Tuesday, May 23, 2017
  • by tolik505
  • Repository
  • 1 Watchers
  • 2 Stars
  • 36 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 38 % Grown

The README.md

VueJs, Axios, vue-router, vuex, vee-validate assets for Yii2

This assets allow to use vueJs in your Yii2 application. It contains vue.js, axios.js, vue-router.js, vuex.js and vee-validate.js (for form validation), (*1)

Installation

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

Either run, (*3)

composer require tolik505/yii2-vuejs-assets "*"

or add, (*4)

"tolik505/yii2-vuejs-assets": "*"

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

Usage

You may utilize a bundle of assets by adding of this code in your view :, (*6)

<?php \tolik505\vuejs\VueBundleAsset::register($this); ?>

If you want to utilize only pure Vue, add this code in your view :, (*7)

<?php \tolik505\vuejs\VueAsset::register($this); ?>

The Versions

23/05 2017

dev-master

9999999-dev

This assets allow to use vueJs in your Yii2 application

  Sources   Download

MIT

The Requires

  • yiisoft/yii2 ~2.0.0
  • bower-asset/vue ~2.3.0
  • bower-asset/axios ~0.16.1
  • bower-asset/vue-router ~2.5.3
  • bower-asset/vuex ~2.3.0
  • bower-asset/vee-validate ~2.0.0

 

by Anatolii Pipko

library yii2 vue vuejs axios