0.1.14 • Published 9 months ago

zx-mobile v0.1.14

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

Project setup

npm install

start

npm start

Compiles and minifies for production

npm run build:dev
npm run build:test
npm run build:ut
npm run build:prod

Lints and fixes files

npm run lint

NodeJs Version

12.7.0

Customize configuration

See Configuration Reference.

布局

如果在750视觉稿上测量了字体为32px,计算规则如下:32px / htmlFontSize(100px) = 0.32rem,
以上等同于在375视觉稿上测量了字体为16px,计算规则如下:16px / htmlFontSize(50px) = 0.32rem,而项目中的基准rootValue是100而不是50,所以16需要乘以2

开发组件

  1. npm start
  2. http://localhost:8080/pages/demo
  3. /pages/render.vue修改pageUrl(fass系统中找)

组件发布

  1. zx-mobile项目中提交代码
  2. 部署fass
  3. epage开发组件并提交
  4. 发布wx-miapp

发布npm

在当前根目录下执行npm publish如果报错就执行 npm adduser,然后输入账户密码和验证码继续执行npm publish

0.1.12

9 months ago

0.1.13

9 months ago

0.1.14

9 months ago

0.1.11

9 months ago

0.1.10

9 months ago

0.1.8

9 months ago

0.1.7

9 months ago

0.1.9

9 months ago

0.1.6

9 months ago

0.1.5

10 months ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago