0.0.1 • Published 4 years ago

@facadecompany/ignition-js v0.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

ignition-js

A beautiful error page for inspecting your JavaScript errors more closely

Installation

Standard installation

yarn add ignition-js --dev

const config = {
    editor: 'vscode',
    theme: 'light',
};

if (process.env.NODE_ENV === 'development') {
    require('@facadecompany/ignition-js').default({ config });
}

With Vue integration

Simply pass the Vue object in the ignition-js config.

window.Vue = require('vue');

if (process.env.NODE_ENV === 'development') {
    require('@facadecompany/ignition-js').default({ Vue }); // <-- here
}

Note: If you're already using the flare-client with the Vue integration, you won't have to run this line, as ignition-js will piggyback off of the existing instance.

With React integration

// TODO