1.0.12 • Published 1 year ago

react-3dmodelx v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-3dmodelx

3D models viewer with react.js。文档地址:https://xiaxiangfeng.github.io/react-3d-model/index.html#/

Image text

从 NPM 下载包

npm i react-3dmodelx

Basic usage

import React from 'react';
import Model from 'react-3dmodelx';

export default () => (
  <div style={{ maxWidth: 800, width: '100%', height: 400, margin: 'auto' }}>
    <Model.FBX src="./Samba%20Dancing.fbx" />
  </div>
);

Demo:

Getting Started

Install dependencies,

$ npm i

Start the dev server,

$ npm start

Build documentation,

$ npm run docs:build

Run test,

$ npm test

Build library via father,

$ npm run build
1.0.12

1 year ago

1.0.11

1 year ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.9-1

2 years ago

1.0.10

2 years ago

1.0.5

2 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago