npm install --save threejs-miniprogram 安装完成之后在微信开发者工具中点击构建 npm。 导入小程序适配版本的 Three.js import{createScopedThreejs}from'threejs-miniprogram'Page({onReady(){wx.createSelectorQuery().select('#webgl').node()
"threejs-miniprogram": "0.0.2" } } 51 changes: 51 additions & 0 deletions 51 example/project.config.json Original file line numberDiff line numberDiff line change @@ -0,0 +1,51 @@ { "description": "Project configuration file", "packOptions": { "ignore": [] }, "setting": { ...
npm install --save threejs-miniprogram 安装完成之后在微信开发者工具中点击构建 npm。 导入小程序适配版本的 Three.js import{createScopedThreejs}from'threejs-miniprogram'Page({onReady() { wx.createSelectorQuery() .select('#webgl') .node() .exec((res) =>{constcanvas = res[0].node// 创建...
threejs-miniprogram-tn ThreeJS adapter for WeChat MiniProgram tuoninapublished 0.162.4 • a year agopublished version 0.162.4, a year agothree-weapp-tn JavaScript 3D library tuoninapublished 0.162.8 • a year agopublished version 0.162.8, a year ago...
generator-wxminiprogram ``` npm install -g yeoman generator-wxminiprogram cd 你的项目目录 yo wxminiprogram npm start ``` ktlee published1.0.3•7 years agopublished version1.0.3,7 years ago wx-reactdata 让你的微信小程序项目拥有类似与vue的响应式数据的特性,从而让你不用在代码中显式调用setDat...
第一步:外部终端窗口 (右击代码文件需要与app.js同级别) 第二步:在doc窗口输入 npminit 第三步:在项目根目录下生成一个package.json文件,该文件包含了项目的元信息和依赖关系等 image.png 第四步:依次在doc窗口输入,会自动执进行下载 npm install miniprogram-barrage ...
import{mergeRollupOptions}from'platformize/dist-plugin';exportdefaultmergeRollupOptions({input:['./miniprogram/pages/index/index.ts'],output:{format:'cjs',dir:'miniprogram/',entryFileNames:'pages/[name]/[name].js',},},{minify:process.env.BUILD==='production'},); ...
wechat-miniprogram •3.0.1•a year ago•37dependents•MITpublished version3.0.1,a year ago37dependentslicensed under $MIT 49,936 earth-flyline GlobeStream3D是基于threejs开发的可视化3D地球纯js组件,包括迁徙飞线,涟漪,支持react vue angular等前端框架 ...
threejs-miniprogramThree.js 小程序 WebGL 的适配版本。使用可参考 example 目录下的示例项目或参照以下流程:通过npm 安装 npm install --save threejs-miniprogram 安装完成之后在微信开发者工具中点击构建 npm。导入小程序适配版本的 Three.js import {createScopedThreejs} from 'threejs-miniprogram' Page({ on...