This example shows how to enable a built-in plugin by loading its script and listing the plugin key in plugins.
<div id="entry-use-plugin"></div>
<script src="/assets/redactor/plugins/counter/counter.js"></script>
const app = Redactor('#entry-use-plugin', {
plugins: ['counter']
});