小编Ale*_*utu的帖子

如何解决 noscript - 在为 Vue 应用程序提供服务时未启用 JavaScript 无法正常工作

我正在使用 Vue UI 界面设置一个新的 Vue.JS 应用程序。当我使用vue serve src/App.vue应用程序启动应用程序时,它只在页面中显示默认的Home | About. 当我检查 HTML 中的页面时,我看到:

<noscript>
      <strong>We're sorry but basicapp doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
Run Code Online (Sandbox Code Playgroud)

在控制台中我看到

[Vue warn]: Unknown custom element: <router-link> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <App> at src/App.vue
       <Root>
Run Code Online (Sandbox Code Playgroud)

我正在使用运行 Vue UI 时创建的基本应用程序

我正在使用运行 Vue UI 时创建的基本应用程序如果我使用vue ui命令运行应用程序,然后从 Vue UI 启动应用程序,它就可以工作。

我想使用命令行打开应用程序的原因是,在 …

javascript configuration cloud9-ide vue.js

15
推荐指数
2
解决办法
5万
查看次数

如何在c#中访问视频文件信息

我正在从一个文件夹中读取.mp4文件当前我正在使用FileInfo来提取名称FileInfo仅限于电影中包含的一些细节.我还需要提取其他信息,例如Title Subtitle Comments Genre Directors Producers

DirectoryInfo dirInfo = new DirectoryInfo(@"..\bin\Debug\Folder");
FileInfo[] fileNames = dirInfo.GetFiles("*.mp4");
foreach (FileInfo fi in fileNames)
{
    string movieName = fi.Name.Split('.')[0]; // returns the file name
    VideoFile newVideo = new VideoFile(movieName); // insert name in object
            director.ListVid.Add(newVideo); // add object to a director object - aka another list
}
 listVideoDirector.Add(director); //add director object to list
Run Code Online (Sandbox Code Playgroud)

我的videoFile对象有更多属性.我需要从实际文件中提取它们

c# video file visual-studio-2015

0
推荐指数
1
解决办法
5484
查看次数