uni-app组件库不够用了,想引入第三方的ui库,请问在uni-app项目中可以使用类似cube-ui的第三方库吗?打包时会出现问题吗?求解答
sharesoon
- 发布:2020-04-25 10:25
- 更新:2020-07-04 14:23
- 阅读:1752
sharesoon (作者)
请问编译时报错如下,怎么解决
<div class="cube-checkbox" :class="_containerClass" :data-pos="position">
10:25:27.919 <label class="cube-checkbox-wrap" :class="_wrapClass">
10:25:27.919 <input class="cube-checkbox-input" type="checkbox" :disabled="computedOption.disabled" v-model="checkValue">
10:25:27.924 <span class="cube-checkbox-ui" :class="_borderIconClass">
10:25:27.924 <i :class="_rightIconClass"></i>
10:25:27.929 </span>
10:25:27.929 <span class="cube-checkbox-label">
10:25:27.933 <slot>{{computedOption.label}}</slot>
10:25:27.939 </span>
10:25:27.940 </label>
10:25:27.945 </div>
10:25:27.950 <div class="cube-radio" :class="_containerClass" :data-pos="position">
10:25:27.950 <label class="cube-radio-wrap" :class="_wrapClass">
10:25:27.954 <input
10:25:27.958 class="cube-radio-input"
10:25:27.963 type="radio"
10:25:27.964 :disabled="option.disabled"
10:25:27.968 v-model="radioValue"
10:25:27.972 :value="computedOption.value"
10:25:27.977 />
10:25:27.982 <span class="cube-radio-ui cubeic-round-border">
10:25:27.982 <i></i>
10:25:27.986 </span>
10:25:27.986 <slot>
10:25:27.990 <span class="cube-radio-label">{{ computedOption.label }}</span>
10:25:27.990 </slot>
10:25:27.995 </label>
10:25:27.996 </div>
10:25:28.007 <div class="cube-switch">
10:25:28.010 <input class="cube-switch-input" type="checkbox" v-model="checkboxValue" :disabled="disabled">
10:25:28.011 <i class="cube-switch-ui"></i>
10:25:28.015 <span class="cube-switch-label"><slot></slot></span>
10:25:28.016 </div>
10:25:30.651 App平台 v3 模式暂不支持在 js 文件中引用"../../common/stylus/index.styl"
2020-04-27 10:47