I'm trying to change my websites name. Can't find where I can set title or app name.
You can create any file in config/
directory, for example config/app.js
which contains comething like this:
module.exports = {
appName : 'My App'
};
Any property of exported object become an option of Sails` config.
appName
property is used as application title. For example, in default layout:
<title><%- title %></title>
where title
=== sails.config.appName
=== 'My App'
By default appName
config variable is set to 'Sails'.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With