我正在尝试在 nav.svelte 组件中加载 sv-bootstrap-dropdown 模块,但出现错误<Dropdown> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules
。之后我尝试将其安装为 devDependency 但出现错误Cannot read property remove of undefined
。这会在sapper文件夹下的服务器 js 文件中自行生成
收到一只叮咚
相关分类