Created
June 18, 2018 18:53
-
-
Save jarrodek/94387cf0e5c8d8b439a2ce772d255c9e to your computer and use it in GitHub Desktop.
An example of building the API console with api-console-builder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const builder = require('api-console-builder'); | |
builder({ | |
tagName: '5.0.0-preview', | |
embedded: true, | |
themeFile: './my-theme.html', | |
destination: 'console-bundle' | |
}) | |
.then(() => console.log('Build complete <3')) | |
.catch((cause) => console.log('Build error <\\3', cause.message)); | |
/* | |
See https://github.com/mulesoft-labs/api-console-builder/blob/master/lib/builder-options.js | |
for all available options. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment