diff --git a/README.md b/README.md index 861b0ab..b5dd18a 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,9 @@ import { Application as Pwoli } from 'pwoli'; //if using ES6 modules or "type": const pkg = require('pwoli'); //if using CommonJS const Pwoli = pkg.Application; // Pwoli is loaded! -//Now set the viewPath for finding the views: + +// Now set the viewPath for finding the views: +// Please note: You don't need to set this if your application is just a REST API service Pwoli.setViewPath(path.join(\_\_dirname, 'views')); // The base path in which your view files are stored. Only applicable for SSR apps. //You're ready to go!