doc icon indicating copy to clipboard operation
doc copied to clipboard

:books: Trails.js Documentation

Results 12 doc issues
Sort by recently updated
recently updated
newest added

# Situation - Examples are currently written in Hapi. - Community members have expressed interest in creating documentation for their preferred trailpacks. # Proposal - Create an Examples Directory that...

So, I wrote a Docker configuration for Trails.js, including information on scaling with Docker. I would like to migrate this configuration and documentation into Trails.js. Where exactly would this fit...

https://trailsjs.io/doc/en/build/service.html#implement-reportcontroller _line:_ this.services.ReportService.getLatest(cik) _returns:_ undefined error which stems from **this.services** `TypeError: Uncaught error: Cannot read property 'ReportService' of undefined` _correction:_ **this.app.services** Am I missing some config to avoid this error?

https://github.com/trailsjs/doc/blob/1a6f1da6819e0c88e999fdbf60f936d7e766db29/en/extend/README.md contains links to files that don't exist. Also, this is broken: https://github.com/trailsjs/doc/commit/1cd94de974db22cb06c088a81691d1ed50134878#diff-4e10da212faac65d4e7c2a51398fee32R31

I was following the doc and ran into a few things. I managed to make it work this way. I use express instead of hapi but I don't think that...

``` /** * Views Configuration * (app.config.views) * * @see http://trailsjs.io/doc/config/views.js */ const handlebars = require('handlebars') module.exports = { engine: handlebars } ``` Few items: • Need View docs for...

> Begin your Journey by clicking Start! resolves to http://beta.trailsjs.io/en/start when only /start exists.

bug

e.g. https://github.com/trailsjs/doc/search?utf8=%E2%9C%93&q=resolvers&type=Code

feature

- [x] 0. [Start](en/start.md) - [x] 1. [Build](/en/api/README.md) - [x] [Controller](/en/api/controller.md) - [x] [Service](/en/api/service.md) - [x] [Model](/en/api/model.md) - [x] Resolver - [x] [Policy](/en/api/policy.md) - [x] 2. [Configure](en/config/README.md) - [x] [main](en/config/main.md)...

In Express, one can use `app.use` and `express.static` to bind the absolute directory path such as _user/home/nodeproject/public_ to a shortcut: _/public_, so that html can locate files using a relative...