Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 5 days 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 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-05T06:35:18.000Z (about 1 year ago)
- Last Synced: 2025-02-01T19:01:43.417Z (7 days 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#/
![Image text](https://xiaxiangfeng.github.io/react-3d-model/Animation.gif)
## 从 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
```