Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit e2ce505

Browse files
committed
added a postinstall note
1 parent 8992f36 commit e2ce505

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Or add it directly to your project's `package.json` file and run `npm install`
1818

1919
During installation, the plugin is added as a key to the `plugins` object in your main Pattern Lab project's `patternlab-config.json` file
2020

21+
> If you don't see this object, try running `npm run postinstall` within the root of your project.
22+
2123
## Configuration
2224

2325
Post-installation, you will see the following in your `patternlab-config.json`:

postinstall.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
console.log('Pattern Lab Node Plugin - "plugin-node-tab" installed. ');
2+
console.log('You may have to run `npm run postinstall` from your console as well.');
23
console.log('Configure or disable this plugin inside your patternlab-config.json file.');
34
console.log('Add tabs to the Pattern Lab UI by adding file extensions to the "tabsToAdd" array on the plugins.plugin-node-tab.options object.');

0 commit comments

Comments
 (0)