如何为ASP.NET MVC项目设置三分

发布于 01-22 08:56 字数 739 浏览 2 评论 0原文

我的时间最困难的时间启动并使用三分。我尝试按照安装指南并使用NPM安装。到目前为止,我的家庭索引视图中有以下内容。

<script type="module">
   // Option 1: Import the entire three.js core library.
   import * as THREE from '/node_modules/three';
   const scene = new THREE.Scene();
</script>

我在项目中包含了使用NPM安装的文件:

”在此处输入图像描述”

当我加载页面时,我会遇到403错误。任何指导都将不胜感激。我似乎找不到使用Visual Studio / .NET实现的示例。我通常使用Nuget,并且在NPM方面没有太多经验,所以也许我只是做了错误的事情?

I am having the hardest time getting something up and running with three.js just to load a simple blender file. I tried following the installation guide and installed using NPM. I have the following so far in my home index view.

<script type="module">
   // Option 1: Import the entire three.js core library.
   import * as THREE from '/node_modules/three';
   const scene = new THREE.Scene();
</script>

I included the files in my project that were installed with NPM:

enter image description here

When I load the page however I keep getting a 403 error. Any guidance would be greatly appreciated. I can't seem to find examples of implementing with Visual Studio / .Net. I typically use Nuget and don't have much experience with NPM so perhaps I just did something incorrectly?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文