perak / kitchen-examples

Meteor Kitchen examples
164 stars 115 forks source link

changing the default query name breaks the page #45

Closed rikyperdana closed 7 years ago

rikyperdana commented 8 years ago

`queries:

But when i change it to `queries:

--Edit-- i also found out that it also happens to query name "admin_users" and "admin-user"

perak commented 7 years ago

@rikyperdana yes, "current_user_data" is defined in "perak:user_roles" package. Spinner keeps spinning because you don't have publication "another_name". You can create one. If you are using CLI, you can create one .js file and reference it in the input file in "copy_files" array, like this:

"application" : {
...
  "copy_files": [
    { "source": "path_to_your_file_relative_to_this_input_json_file.js", "dest": "SERVER_PUBLISH_DIR/" }
  ]
}
rikyperdana commented 7 years ago

I'm a CLI lover but I also admire your GUI Kitchen. Thanks a lot for the answer :)