https://github.com/xiaxiangfeng/react-3d-model
react 3d model loader 3D模型预览
https://github.com/xiaxiangfeng/react-3d-model
3d 3dmodel model react threejs
Last synced: over 1 year ago
JSON representation
react 3d model loader 3D模型预览
- Host: GitHub
- URL: https://github.com/xiaxiangfeng/react-3d-model
- Owner: xiaxiangfeng
- Created: 2022-10-21T10:31:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-05T06:35:18.000Z (over 2 years ago)
- Last Synced: 2025-03-23T21:05:07.427Z (over 1 year ago)
- Topics: 3d, 3dmodel, model, react, threejs
- Language: TypeScript
- Homepage: https://xiaxiangfeng.github.io/react-3d-model/index.html#/
- Size: 9.96 MB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-3dmodelx
> 3D models viewer with react.js。文档地址:https://xiaxiangfeng.github.io/react-3d-model/index.html#/

## 从 NPM 下载包
```npm
npm i react-3dmodelx
```
## Basic usage
```tsx
import React from 'react';
import Model from 'react-3dmodelx';
export default () => (
);
```
Demo:
## Getting Started
Install dependencies,
```bash
$ npm i
```
Start the dev server,
```bash
$ npm start
```
Build documentation,
```bash
$ npm run docs:build
```
Run test,
```bash
$ npm test
```
Build library via `father`,
```bash
$ npm run build
```