Tutorial de plugin #3 substituído - Como adicionar um botão após cada post?

Do this at the start of your .js.es6 file:

import PostMenuView from 'discourse/views/post-menu';

Then use PostMenuView as a global in the code.