Skip to content
This repository was archived by the owner on May 19, 2020. It is now read-only.

Commit abfdaed

Browse files
committed
Add setters example in the doc.
1 parent 5220e7a commit abfdaed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ class constructor or set up use setters.
4040
import { Configuration } from '@microparts/configuration-js';
4141

4242
const conf = new Configuration('./configuration', 'test');
43+
// or
44+
// conf.path = './configs';
45+
// conf.stage = 'local';
4346
conf.load();
4447

4548
conf.get('foo'); // full example on the top

0 commit comments

Comments
 (0)