abp icon indicating copy to clipboard operation
abp copied to clipboard

ABP Vue startup template

Open ugurozturk opened this issue 5 years ago • 19 comments

It would be great if abp has an option for starting template via Vue.

ugurozturk avatar May 28 '19 11:05 ugurozturk

Thanks for the suggestion. Angular, React, Vue, Blazor templates are in the road map. However, our first priority is to release a stable version of the core framework with MVC UI.

hikalkan avatar Jun 02 '19 15:06 hikalkan

Vue.Js, Nuxt.js with Typescript (including nswag) support, and PrimeVue components is probably the best way forward for the next startup template. As much as I like the idea of Blazor it is just too immature for production and probably will be for at least the next 6 to 12 months.

https://nuxtjs.org/ https://nuxtjs.org/guide/typescript https://www.primefaces.org/primevue

KevinFarrow avatar Aug 16 '19 07:08 KevinFarrow

@KevinFarrow PrimeVue looks pretty good

Perhaps something like this can be also useful https://github.com/chrisvfritz/vue-enterprise-boilerplate

Edit : I tried to modify it for abp yet, i failed because external login :|

ugurozturk avatar Aug 16 '19 10:08 ugurozturk

Some other good ones I have seen

https://github.com/o15y/staart-ui

https://github.com/coreui/coreui-free-vue-admin-template

https://github.com/Armour/vue-typescript-admin-template

https://github.com/NetCoreTemplates/vue-nuxt

https://github.com/TrilonIO/aspnetcore-Vue-starter

chrismckelt avatar Aug 16 '19 14:08 chrismckelt

Thank you for sharing these. It will be helpful when we start to work on it.

hikalkan avatar Aug 17 '19 15:08 hikalkan

I like this one for mobile. https://quasar.dev

MightyLoggor avatar Aug 27 '19 17:08 MightyLoggor

Just wanted to share github star compare react vs angular vs vue

image

ugurozturk avatar Aug 28 '19 19:08 ugurozturk

The following combination would work well and doesn't force the user to use a complete 3rd party framework (quasar etc.) or set of boilerplate code (e.g. vue-enterprise-boilerplate).

  • Vue.js (https://vuejs.org/)
  • Nuxt (https://nuxtjs.org/)
  • Typescript support (https://typescript.nuxtjs.org/)
  • Vuetify (https://vuetifyjs.com/en/)
  • Axios (https://github.com/axios/axios)
  • NSwag (http://nswag.org/)

KevinFarrow avatar Sep 02 '19 09:09 KevinFarrow

I am really puzzled by the lack of comments, updates, or progress on this in almost a year. I assume it is not really on the roadmap. Is this actively being discussed and is there a timeframe if it is?

theChrisMarsh avatar Sep 26 '20 21:09 theChrisMarsh

Vue 3.0 + typescript

shaofing avatar Oct 16 '20 10:10 shaofing

If it is to attract more people, then this is an option to consider, especially for developers in China, many novice use Vue. However, ABP team made the right choice, they chose angular. Only angular can be said to be seamlessly integrated, especially when it comes to code generation, programming experience is completely different. Of course, if you just provide an initial template, it's still possible, but if you want to fully support it, such as generating all the basic code based on the model, I don't think it's worth it.

Besides, vue3+typescript is stupid, why not choose angular directly !

niltor avatar Feb 20 '21 06:02 niltor

If it is to attract more people, then this is an option to consider, especially for developers in China, many novice use Vue. However, ABP team made the right choice, they chose angular. Only angular can be said to be seamlessly integrated, especially when it comes to code generation, programming experience is completely different. Of course, if you just provide an initial template, it's still possible, but if you want to fully support it, such as generating all the basic code based on the model, I don't think it's worth it.

Besides, vue3+typescript is stupid, why not choose angular directly !

OK, first of all, no project is stupid. And second of all Vue 3 is the first version of Vue that can be viably supported with ABP. It has first hand support for Typescript, being written completely in it. But that doesn't mean that supporting Vue is going to be easy. Current proxies would be easy to use with Vue 3 if you're OK with Observables/RxJS. But to be fully compliant with the Vue community guidelines and the way of developing apps in Vue, ABP would need to create a proxy generator with a Promise-based interface and also port over all ABP components from Angular to Vue. There is no doubt that such a combination between ABP and Vue 3 would have a huge following especially from China, but one problem will still remain. Vue lacks proper tooling, enterprise level tooling, and that is true especially for Vue 3 which is very new. With time, perhaps as Vue 3 gains traction and perhaps better integration with the major IDEs, including Visual Studio, Vue 3 will have to be supported by ABP, but right now, that's very much up in the air...

brokenthorn avatar Feb 22 '21 11:02 brokenthorn

Supporting a 4th UI framework officially is very hard for us, to be honest. When we add it, all modules, theming, extensibility, modularity and every other feature should be compatible with that new UI type. This multiples our work and slows down us a lot. Also, it requires a strong expertise and we can not be best in every area.

So, to be honest, we are currently not planning a 4th UI in the middle term. We regularly re-evaluate our decisions based on changing conditions, but current situation is like that.

ABP is actually UI independent. You can use Vue or another SPA on frontend. If you want to use Vue or React today, I suggest to start with one of the vue/react empty startup templates and use ABP as a backend framework. Using Vue with ABP for a specific project is far more easier than adding & maintaining an official solution in the ABP platform. The best we can do for now to create an article/guide to create a sample application with vue & abp.

hikalkan avatar Mar 02 '21 15:03 hikalkan

@hikalkan Most of the folks who want to use vue.js or react js do not need theming or tight integration what we need is just examples of how to hookup with the backend services provided by ABP Framework. For those interested please check out this repo abp-vue-admin-element-typescript. Its uses the microservices project template and its what I have been following with great success. There is a lot to learn from the source code. This other repo has nice resources for ABP Framework

uwascan avatar Mar 11 '21 20:03 uwascan

Supporting a 4th UI framework officially is very hard for us, to be honest. When we add it, all modules, theming, extensibility, modularity and every other feature should be compatible with that new UI type. This multiples our work and slows down us a lot. Also, it requires a strong expertise and we can not be best in every area.

So, to be honest, we are currently not planning a 4th UI in the middle term. We regularly re-evaluate our decisions based on changing conditions, but current situation is like that.

ABP is actually UI independent. You can use Vue or another SPA on frontend. If you want to use Vue or React today, I suggest to start with one of the vue/react empty startup templates and use ABP as a backend framework. Using Vue with ABP for a specific project is far more easier than adding & maintaining an official solution in the ABP platform. The best we can do for now to create an article/guide to create a sample application with vue & abp.

yes,you are right.

We are using the method you mentioned to create the project,But I have encountered a problem, because the user & permissions & other basic module apis attached to the abp startup project seem to be unable to correlate well with our vue project.

So I really hope to have an official abp guide, please, thank you. 😄

yel-best avatar Sep 09 '21 07:09 yel-best

vue?

sunyuliang avatar Feb 24 '22 12:02 sunyuliang

vue 遥遥无期

yb12306 avatar Mar 15 '22 08:03 yb12306

vue?

mahdinai avatar Aug 27 '22 11:08 mahdinai

为啥要使用vue?

daconglee avatar Sep 17 '22 01:09 daconglee

I am big fan of Vue and ABP, but I suggest the team keep ABP independent from any front-end framework since UI startup template never meet everyone's UI design, and we seldom use the default UI template in real world.

A practical guide or examples to integrate ABP backend service to any frontend is a better idea.

geextudio avatar Oct 08 '22 08:10 geextudio