- If you create a remote method in a boot (
server/boot/your-script.js) script, it does not show up in the explorer.
- If you create a remote method in
server/server.js, it does not show up in explorer.
For point 1, @raymondfeng suggested you can get around it by make sure your script loads first (like changing your-script.js to a.js to make sure it loads first). I confirmed the workaround and it does work, but there needs to be a better solution than naming your scripts to load first.
server/boot/your-script.js) script, it does not show up in the explorer.server/server.js, it does not show up in explorer.For point 1, @raymondfeng suggested you can get around it by make sure your script loads first (like changing
your-script.jstoa.jsto make sure it loads first). I confirmed the workaround and it does work, but there needs to be a better solution than naming your scripts to load first.