1.1.1 • Published 2 years ago

sqe-editer v1.1.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

sqe-editer

基于 SQE(v1.0.x) 的场景编辑器,支持场景的导入导出,资源的管理与展示!

Project explain

sqe-editer 是一个 webpack 插件,以 Vue 项目为例:

  1. npm install sqe three -S npm install sqe-editer -D

  2. vue.config.js 中引入并注册插件

module.exports = {

chainWebpack: (config) => {

    config.plugin('sqe-editer').use(SqeEditer).tap(() => [

        { save: 'scene/index.json' }//开启保存功能并指定保存路径

    ])

}

}

  1. 运行项目,app.vue

import { World } from 'sqe'

const world = new World({})

world.start(document.getElementById('app'))

1.1.1

2 years ago

1.1.0

2 years ago

1.0.92

2 years ago

1.0.91

2 years 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.5

2 years ago

1.0.41

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago