Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

aframe-vrml-component

ngokevin2MIT0.1.0

VRML component for A-Frame VR.

aframe, aframe-component, layout, aframe-vr, vr, aframe-layout, mozvr, webvr

readme

aframe-vrml-component

An VRML component for A-Frame.

Property

Description
Either url(path-to-world.wrl) or a selector to an <a-asset-item>

Usage

Browser Installation

Install and use by directly including the browser files:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.2.0/aframe.min.js"></script>
  <script src="https://rawgit.com/ngokevin/aframe-vrml-component/dist/aframe-vrml-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity vrml="url(house.wrl)"></a-entity>
  </a-scene>
</body>

NPM Installation

Install via NPM:

npm install aframe-vrml-component

Then register and use.

require('aframe');
require('aframe-vrml-component');