Я решил проблему вот так
<script>
import '../node_modules/pivottable/dist/pivot.css'
import jquery from 'jquery'
let $ = jquery;
import 'webpack-jquery-ui';
$.pivotUI = require('pivottable');
export default {
name: 'app',
mounted() {
this.$nextTick(() => {
$("#output").pivotUI(
[
{color: "blue", shape: "circle"},
{color: "red", shape: "triangle"}
],
{
rows: ["color"],
cols: ["shape"]
}
);
})
},
}
</script>