It’s either probably because:
- You forgot to include the
<script src="../smPlugin.js"></script>
<script src="../smPluginMenuAddon.js"></script>
lines to theindex.html
- You forgot to include the
smPlugin.js
smPluginMenuAddon.js
files to the/web/
directory