npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

three-model-viewer

v0.1.14

Published

``` npm install ```

Downloads

38

Readme

three-model-engine

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your unit tests

npm run test:unit

Customize configuration

See Configuration Reference.

发包方式1

https://zhuanlan.zhihu.com/p/487550005 https://blog.csdn.net/u010059669/article/details/109715342

版本管理

https://blog.csdn.net/qq_41887214/article/details/120471739

按需引入

// presets: [ // '@vue/cli-plugin-babel/preset' // ] npm install babel-plugin-component -D https://blog.csdn.net/Z_Y_Chen/article/details/125551758

rem

https://blog.csdn.net/lwx931449660/article/details/107962493 https://www.jb51.net/article/257500.htm https://www.jianshu.com/p/8293b4957699 https://blog.csdn.net/weixin_59519449/article/details/123978984

TODO

  1. rem 布局 2.loader增加
  2. 设计成组件

px to rem

https://www.cnblogs.com/m1754171640/p/13712218.html

px2rem 设置 rootfontsize

安装使用sass

https://cli.vuejs.org/zh/guide/css.html#%E9%A2%84%E5%A4%84%E7%90%86%E5%99%A8 npm install -D sass-loader sass

#安装less npm install -D less-loader less

https://juejin.cn/post/6844904190506958856

打包后的模型文件夹路径下 可以访问

http://localhost:8080/#model=static/models/solids.obj,static/models/solids.mtl

http://localhost:8080/127new#model= //模型url地址

画展移动重置 有问题

发包

https://blog.csdn.net/weixin_45032067/article/details/125434872

构建目标

https://cli.vuejs.org/zh/guide/build-targets.html#%E5%BA%93 https://blog.csdn.net/cenkangmu/article/details/125060984

"build:dom": "vue-cli-service build --target lib --name index packages/index.js "