Answer the question
In order to leave comments, you need to log in
Is it possible to use models from Yii2 in this case?
Hello everyone, I want to use Yii2 + Vue.js and REST API with the concept of a single application page in the project, and then the question arose, when Yii2 itself will give the front, should it use models along the way and display the front with them, or would it be better if Yii2 will it just give the front, and the front itself, after loading, will request all the necessary data through the REST API?
Maybe someone knows ready-made repositories where the best approach for implementing the Yii2 + Vue.js + REST API stack is used?
Answer the question
In order to leave comments, you need to log in
There are probably 2 ways, as I do with angular, I think it's similar with vue.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question