This is a plugin to call some console tool(current is Eruda) for your webapp.
You can get it on npm.
npm install quantum-console --save
Add this script to your page.
<script src="node_modules/quantum-console/index.js"></script>
<script>
new QuantumConsole({
url: '//cdn.jsdelivr.net/npm/eruda',
entry: '#entry'
});
</script>
ES Module
import QuantumConsole from 'quantum-console';
new QuantumConsole({
url: '',
entry: '',
consoleConfig: {},
plugins: []
});
- url: String value, Your console tool's cdn link.
- entry: String value, An entry to call your console tool.
- consoleConfig: Object value, Some configs for your console tool.
- plugins: Array value, Add plugins to your console tool.