Skip to content

Commit

Permalink
Rename example to importmap
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Jan 28, 2025
1 parent 570f93e commit 92617bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/introduction/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ Here is an example of the importmap to use:
</head>
```
The [teapot example](https://aframe.io/aframe/examples/boilerplate/teapot/index.html) uses the above code.
The [importmap example](https://aframe.io/aframe/examples/boilerplate/importmap/index.html) uses the above code.
## "Multiple instances of Three.js being imported." warning
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html>
<head>
<meta charset="utf-8" />
<title>Teapot • A-Frame</title>
<meta name="description" content="Teapot • A-Frame" />
<title>Importmap • A-Frame</title>
<meta name="description" content="Importmap • A-Frame" />
<script type="importmap">
{
"imports": {
Expand Down
2 changes: 1 addition & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h2>Examples</h2>
<li><a href="boilerplate/3d-model/">3D Model (glTF)</a></li>
<li><a href="mixed-reality/anchor/">Anchor (Mixed Reality)</a></li>
<li><a href="mixed-reality/real-world-meshing/">Real World Meshing (Mixed Reality)</a></li>
<li><a href="boilerplate/teapot/">Teapot (use importmap and import from three/addons)</a></li>
<li><a href="boilerplate/importmap/">Importmap (import teapot geometry from three/addons)</a></li>
</ul>

<h2>Examples from Documentation</h2>
Expand Down

0 comments on commit 92617bc

Please sign in to comment.