wxs77577 / rest-admin Goto Github PK
View Code? Open in Web Editor NEWRestful Admin Dashboard Based on Vue and Boostrap 4
Home Page: http://rest-admin.genyii.com
License: MIT License
Restful Admin Dashboard Based on Vue and Boostrap 4
Home Page: http://rest-admin.genyii.com
License: MIT License
Dear Fellows,
I couldnt use the table component, it renders the table header, but with neighter action buttons (for add) nor data row.
Could you provide some working example?
Thanks
Dear @wxs77577 ,
After last commit I found this warn of missing peers. Perhaps adding to package.json ?
npm WARN [email protected] requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected] - 3 but none is installed. You must install peer dependencies yourself.
Thanks
Hi
There's a sorting feature of listing tables, but it's only a view which does not affect models.
What I need is drag-n-drop or clickable ordering that would change some field inside data model (e.g. sort_order
field), so that when I access data from my DB I could do simple ORDER BY sort_order DESC
and be sure that it's the same ordering as I set it in rest-admin page.
Can you add it?
Dear @wxs77577 ,
I´m struggling to deal with my ID naming strategy within rest-admin.
Your strategy waiits for _id as table id, and my models are all with 'id' without underscore.
The underscore I adopt as FK like user: {id: 1, category_id: 1}, and for this is working.
What could I do instead of chaging all my models?
Thanks once again
1、npm run local,it cause error , but run dev success(change the config)
2、detail
package.js : "local": "API_URI=http://localhost:8088/admin/api/ npm run dev",
dev.env.js.js : API_URI: `"${process.env.API_URI || 'http://192.168.50.57:5555/admin/api/'}"`
when npm run local, process.env.API_URI cannot get the value of API_URI
Dear friend,
What is the importance if the package vuex-router-sync? Is it really matter?
Im trying to run the solution at browser without webpack, and im finding some trouble with it. First because this package doesnt have a module that works woth browser only.
Just wondering what it does. Ive managed to run many things already but some mutations seems not to work without this package.
Buttons actions doesn’t happens , but i dont know for sure why
Pretty self explanatory... nodemon is missing from the package.json so I needed to install it before being able to run the test api. Didn't feel this was enough to open a PR but I can if desired. Below line fixes the problem:
npm install nodemon --save
Dear @wxs77577 ,
Just wondering, why using addons tags (underscored) at Fields description, instead of aggregating new patterns on the Envelop?
I think it would be a cleaner way to do like:
{
data: [],
fields: {
...
},
actions: {}
}
Or something like that, perhaps there is a standard or more widely use pattern?!
What do you think?
Thanks
Looking at the readme its not quite clear if the api can be configured to load from a WordPress db
I may be overlooking something, but it doesn't appear that default login credentials have been supplied, nor does it look like a sign up has been implemented. Am I missing something or has this simply not been implemented yet?
Dear @wxs77577 ,
Would you explain a little bit of CustomTable vs DataTable components?
Why their code seems to be very different, and what it enables against DataTable?
Thank you very much
all create link can't access
http://localhost:8080/#/products/create
http://localhost:8080/#/categories/create
Is there any trick how the home page card (statics) could be clickable and interact as a link?
Assigned to... me...
is there is any update in this time
Dear @wxs77577,
I found that after last commit this issue happened.
It affects the field rendering for edit, (it doens´t render them)
rest-admin/src/components/FormField.vue
Line 165 in f13b69b
I think you should att anoter key id :key="
item_${i}"
Thanks
Dear fellows,
Is it possible to change this project for rendering at server side?
How hard would that be?
Would it worth?
Is it done by using Nuxtjs?
Thanks
May I ask some help how can use the addon tag in DataTable?
Following example is working for me:
"_actions": {
"toolbar": {
"create": False,
"delete_all": False
},
"buttons": {
"show": False,
"delete": False,
},
"addon": {
"button": {
"label": "testlabel",
"href": "/ddd/",
},
}
},
How can I get to append the selected line _id's to the url? Is there any way for it?
Dear,
I´ve noticed a layout props expected at formbuilder.
Can you provide more info or example on its usage.
I would like to know its 'usage' level as well, if youcan provide please.
As far as I could get, it awaits a layout info from resource/form api response.
什么类型数据库啊
好像没看懂这个做啥的
In FormField.vue file, in the secction of radiolist types, i thing there is necesary this: :options="options"
We still use rest-admin and it is great stuff, but we stuck on an earlier version because inline images in grids don't work anymore. Just a link is displayed, instead of the image itself.
The problem also persists if I simply build the project from the repo and connect to test-api:
Any guess how can we fix it?
Build for production with npm run-script build
got error
`
ERROR in static/js/vendor.js from UglifyJs
Unexpected token: name (code) [./node_modules/vue-snotify/vue-snotify.esm.js:104,0][static/js/vendor.js:27544,12]
Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: node build/build.js
npm ERR! Exit status 1
`
I did try around this: artemsky/vue-snotify#14 but not work at all.
My environment:
Anyone face or any solution?
I ran the build command and copied the dist
folder but now have a blank page. Could you go into more detail on how to set the API_URI? I have json-server running on port 3005 and would like to use that
git clone [email protected]:wxs77577/rest-admin.git
command not working as expected, error is throwed:
Permission denied (publickey). fatal: Could not read from remote repository.
But this is working ok:
git clone https://github.com/wxs77577/rest-admin.git
Please update README.
This is an awesome project, looks very useful. however before using it or contributing I wonder what is the license for it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.