0.0.29 • Published 9 months ago

taro-toolkit-vue3 v0.0.29

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

编译配置

引用组件时,必须添加以下配置

// config/index.ts 配置片段
const config = {
  designWidth(input) {
    const fileName = input?.file?.replace(/\\+/g, '/');
    if (
      fileName.indexOf('@nutui') > -1 ||
      fileName.indexOf('taro-toolkit-vue3') > -1
    ) {
      return 375;
    }

    return 750;
  },
  sass: {
    data: `@import "@nutui/nutui-taro/dist/styles/variables.scss";`
  }
};

文件目录

  • components
  • helper
  • styles
  • types
  • utils

组件开发注意事项

  • 样式单位 1倍 像素必须使用 px
  • 样式单位 2倍 像素必须使用 rpx
0.0.29

9 months ago

0.0.28

9 months ago

0.0.27

9 months ago

0.0.26

9 months ago

0.0.25

9 months ago

0.0.24

9 months ago

0.0.23

9 months ago

0.0.22

9 months ago

0.0.21

9 months ago

0.0.20

9 months ago

0.0.19

9 months ago

0.0.18

9 months ago

0.0.17

9 months ago

0.0.16

9 months ago

0.0.15

9 months ago

0.0.14

9 months ago

0.0.13

9 months ago

0.0.12

9 months ago

0.0.11

9 months ago

0.0.10

9 months ago

0.0.9

9 months ago

0.0.8

9 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago