BIM Engine SDK for Vue2, Vue3, React and HTML
npm install iflow-engine-basebash
npm install iflow-engine-base
`
Usage
$3
`javascript
import { createEngine } from 'iflow-engine-base';
// CSS文件会自动引入,无需手动导入
`
$3
`javascript
const engine = createEngine({
container: document.getElementById('app'),
// ... other options
});
`
Important Notes
- CSS样式已自动包含,无需手动导入
- 该SDK依赖 three 和 vue`,确保项目中已安装这些依赖