Currently, this example does not work because the bundler is looking for perf_hooks even though it's a native module since Node.js v8.x. Something will have to be fixed in Vue.js in order to make this work.
Check out this discussion of the issue: djipco/webmidi#120
npm install
yarn serve
yarn build