Yii Framework Forum: VueJS 2.0 and Yii2 - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

VueJS 2.0 and Yii2

#1 User is offline   sganz 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 75
  • Joined: 22-January 14
  • Location:Los Angeles Area

Posted 21 December 2016 - 07:55 PM

Anyone using VueJS 2.0 as a front end to to a Yii2 application. Poked around and saw some VueJS 1.0 components, but didn't see much for the newer 2.0.

Looking at doing something like VueJS or Aurelia.io with Yii2.

Any integration tips, thoughts, etc would be most welcome.

Thanks

Sandy
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,225
  • Joined: 17-January 09
  • Location:Russia

Posted 27 December 2016 - 06:52 AM

That's just a JavaScript library so there should not be anything special about using it with Yii.
Yii 2.0 Development Cookbook

Enjoying Yii? Star us at github

Support me so I can work more on Yii: https://www.patreon.com/samdark
0

#3 User is offline   sganz 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 75
  • Joined: 22-January 14
  • Location:Los Angeles Area

Posted 27 December 2016 - 11:03 AM

Yeah, just wondering if anyone had done some tighter integration with Yii2. Doing thing that Yii already supports such as activeform stuff, things like that. Don't think it would be too hard to make it work but checking to see if anyone had messed with it. I did seem some packages with mentions of Vuejs, but most look like just a way to include the JS code as part of the application, not tighter integration.

Thanks for the reply!

Sandy
0

#4 User is offline   chux 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 89
  • Joined: 16-September 10

Posted 26 October 2017 - 08:23 AM

I know it's an old topic guys, but... anyone?
Give a read to my blog.
0

#5 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 3,710
  • Joined: 10-October 10
  • Location:Denmark

Posted 26 October 2017 - 08:40 AM

What I did just now - out of curiosity - was to search for 'yii2 vue' - and the search really didn't turn up a whole lot, but it did turn up this:

https://bitbucket.or...ca/yii2-vue/src

Perhaps your search-foo is better than mine?
"Less noise - more signal"
0

#6 User is offline   Arslan Butt 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 01-October 13
  • Location:Pakistan

Posted 07 March 2018 - 07:02 AM

View Postchux, on 26 October 2017 - 08:23 AM, said:

I know it's an old topic guys, but... anyone?


https://github.com/o...ight/yii2-vuejs
0

#7 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 3,710
  • Joined: 10-October 10
  • Location:Denmark

Posted 08 March 2018 - 06:32 AM

That project is rather useless, IMO.
It uses Yii to register and publish Vue assets. Which is useless if you intend to fully replace the client with Vue.
If you're not, then it is a start, although a very small one.

Better would be to use Yii for the backend and fully code the front in Vue.
For that you just need a guide somewhere in the Vue community that explains how to reach out to a backend (other than Node.js)
"Less noise - more signal"
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users