aframe-newver-component

1.0.0 • Public • Published

aframe-newver-component

A Newver component for A-Frame.

For A-Frame.

API

Property Description Default Value

Develop

npm i -g gh browserify budo webpack # install necessary global package
# go to component directory
npm i                               # install local devDependencies
npm run dev                         # start dev-server port 8000
npm run mkrepo                      # create new github repo for component, `npm i -g gh` is necessary
npm run gh                          # push changes, you should replace remote origin if it differents
npm run mknpm                       # publish as npm package

Then submit to the A-Frame Registry.

Installation

Browser

Install and use by directly including the browser files:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.5.0/aframe.min.js"></script> 
  <script src="https://unpkg.com/aframe-newver-component/dist/aframe-newver-component.min.js"></script> 
</head>
 
<body>
  <a-scene>
    <a-entity newver="param: prop"></a-entity>
  </a-scene>
</body>

npm

Install via npm:

npm install aframe-newver-component

Then require and use.

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

Package Sidebar

Install

npm i aframe-newver-component

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • 7dir