0.0.29 • Published 10 months ago

taro-toolkit-vue3 v0.0.29

Weekly downloads
-
License
MIT
Repository
-
Last release
10 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

10 months ago

0.0.28

10 months ago

0.0.27

10 months ago

0.0.26

10 months ago

0.0.25

10 months ago

0.0.24

10 months ago

0.0.23

10 months ago

0.0.22

10 months ago

0.0.21

10 months ago

0.0.20

10 months ago

0.0.19

10 months ago

0.0.18

10 months ago

0.0.17

10 months ago

0.0.16

10 months ago

0.0.15

10 months ago

0.0.14

10 months ago

0.0.13

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago