请问vue当中如何使用金字塔图?

import Highcharts from ‘highcharts’
import HighchartsVue from ‘highcharts-vue’
import Pyramid from ‘highcharts/modules/pyramid3d’

// HighchartsMore(Pyramid)
Pyramid(Highcharts)
是引用的方式有问题吗?

3d 金字塔依赖的模块有

import highcharts3D from 'highcharts/highcharts-3d';
import cylinder from 'highcharts/modules/cylinder';
import funnel3d from 'highcharts/modules/funnel3d';
import pyramid3d from 'highcharts/modules/pyramid3d';

并且都需要进行初始化

highcharts3D(Highcharts);
cylinder(Highcharts);
funnel3d(Highcharts);
pyramid3d(Highcharts);

示例:https://codesandbox.io/s/vue-template-forked-3p7be?file=/src/components/HelloWorld.vue