Open roscopecoltran opened 7 years ago
Hi Richard,
It took me quite a while to figure out what to reply...
So for the first question, yes I think it's possible to config and generate vue-admin with golang/yaml file. But to be honest, personally, I'm not familiar with golang (I did only read the golang.org)... And also, I think vue-admin is more likely to be a front-end frame or demo of vue-bulma components.
I checked the searchkit project. It's a UI kit built in react. So it can be easily integrated in a React SPA project, while it's weird to import it into a Vue project, like vue-admin. However, we can also build a vue component with similar functionality as searchkit.
The 3rd question, sorry, I don't have a dockerfile for it yet... But I'm sure there is something in implementing these features in the future.
Thanks for your question and inspiration!
And our project owner @fundon may have more professional answers for you : )
Hi guys,
Hope you are all well !
I was giving a try to your awesome project and had 3 quick questions about:
1- Admin configuration setup from orm schema (at least semi-automated)
I was wondering how it could be possible to build a vue-admin interface by parsing a yaml file generated by some golang client and micro-services like ezorm. More specially, I am writing a go-rest api (gin, grpc, gorm (dialects: mysql, sqlite3 and postgres), mongodb, redis and elasticsearch) and I wanted to get some flexibility during my tests for browsing/editing the content through online forms (generated by a json/yaml schema), or visualize some key metrics with your nice charts helpers.
It would be easier and cooler to edit the yaml file (eg. blog) and to add specific properties about the inputs (eg. textarea) than hard coding... Can vue-admin parse yaml files to load in real-time new schemas to update the admin panel layout ? Is there any gopher.js or vue binding boilerplates in golang that could extend vue-admin smoothly and easily ?
More generally, is there any go rest-api available for vue-admin ? it would be freaking awesome...
I found 2 projects wrapping other admin boilerplates, ng-admin and admin-on-rest, but the config api is set manually and I am more keen to use vue.js for this admin interface for future backend projects:
References found:
2. How to integrate a new pages or widgets with custom packages ? For example, i'd like to add a search page with the searchkit package and get it nicely integrated to vue-admin ? What would be the best pratices (knowing that i will use a docker compose for elasticsearch and another micro-service for importing data from the gorm model, and create a new endpoint for getting search results) ?
**3. Dockerfile / Docker-Compose bundled demos The last question is sub-divided into 1 little question and one feature request :-)
Have a nice day ! and thanks for any inputs toward a more dynamic setup of vue-admin :-)
Cheers, Richard