Giter Club home page Giter Club logo

rest-admin's Issues

Table component

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

Reordering in models

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?

ID naming strategy

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

npm run local cause error

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

Vuex-router-sync question

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

nodemon missing from package.json

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

_actions addon tag vs Envelope Improve

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

No default login credentials or ability to sign up

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?

CustomTable Concepts

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

列表数据绑定报错

v-bind without argument expects an Object or Array value
CustomTable.vue页面报错,前端新手请教下,这个是什么问题?
img

Flight Todo List

  1. translation
  2. better polling & snack bar for data loading
  3. airline logos
  4. airport dropdown
  5. payment
  6. filter and sort - $on
  7. styling...

Assigned to... me...

hello

is there is any update in this time

SSR - Nuxt.JS

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

Proper use of addon tag in DataTable.vue

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?

Layout Feature from configs

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.

radiolist

In FormField.vue file, in the secction of radiolist types, i thing there is necesary this: :options="options"

Build for production error: Unexpected token: name (code) [./node_modules/vue-snotify/vue-snotify.esm.js:104

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:

  • nodejs v9.5.0
  • npm v5.10.0
  • Windows 10

Anyone face or any solution?

Blank Page

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

https://geekhd.tk/sharex/zodj3.png

Incorrect git clone command in README

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.