我对videojs节点模块有问题

所以我将我的项目从codeandbox(在这里工作)导出到可视代码,现在我对此有问题...。

Module parse failed: Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type,currently no loaders are
configured to process this file. See https://webpack.js.org/concepts#loaders
> @charset "UTF-8";
| .vjs-modal-dialog .vjs-modal-dialog-content,.video-js .vjs-modal-dialog,.vjs-button > .vjs-icon-placeholder:before,.video-js .vjs-big-play-button .vjs-icon-placeholder:before {
|   position: absolute;
 @ ./src/Components/Work/videojs.js 3:0-36
 @ ./src/Components/Work/Video.js
 @ ./src/Components/Work/index.js
´´´

I already install from npm all the dependencies that i have in codesandbox.
glad if anyone can answer this 

spoonlee 回答:我对videojs节点模块有问题

路径错误:

import "video.js/dist/video-js.css";

您需要提供完整路径:

import "/node-modules/video.js/dist/video-js.css";
本文链接:https://www.f2er.com/2706135.html

大家都在问