sails
Version:
API-driven framework for building realtime apps, using MVC conventions (based on Express and Socket.io)
11 lines (4 loc) • 376 B
Markdown
# views/
This is the directory that holds all of your custom views.
To create a custom view, create a new directory inside of this then create a new .ejs file. In order for it to be rendered by a client, you must either set up a route in `config/routes.js` or use the `res.view()` method inside of a custom controller action.
<docmeta name="displayName" value="views">