Coder Social home page Coder Social logo

Comments (9)

826327700 avatar 826327700 commented on May 10, 2024 8

还是希望官方有空出一个wepy版的或者mpvue版的

from iview-weapp.

7-SHENG avatar 7-SHENG commented on May 10, 2024 7

export default class Index extends wepy.page {
config = {
navigationBarTitleText: 'test',
usingComponents: {
'i-button': '../components/iview/button/index'
}
}

引入一下就好了啊

from iview-weapp.

jardenliu avatar jardenliu commented on May 10, 2024 4

可以看一下我这个插件 https://github.com/jardenliu/wepy-plugin-iview.git

from iview-weapp.

afacode avatar afacode commented on May 10, 2024 1

我用的有赞UI
config = {
'navigationBarTitleText': 'test',
'usingComponents': {
'zan-button': '../static/btn/index'
}
}
src/static 放官方的组件

iview也是类似的

from iview-weapp.

BuptStEve avatar BuptStEve commented on May 10, 2024

大兄弟不妨看看这个?#7

from iview-weapp.

826327700 avatar 826327700 commented on May 10, 2024

wepy貌似没办法用,首先i-button这种横线命名就不行... 我在试图改造成wepy的,但似乎涉及button组件的地方,难度有点大,改完之后与原版差异很大,估计不好用

from iview-weapp.

1533987417 avatar 1533987417 commented on May 10, 2024

usingComponent为什么会找不到组件???什么原因

from iview-weapp.

anonymous-qsh avatar anonymous-qsh commented on May 10, 2024

把node_modules/iview-weapp/dist文件夹下所有的东西拷贝到/src/components/iview-weapp/文件夹下然后就可以了.

from iview-weapp.

dengying3939 avatar dengying3939 commented on May 10, 2024

export default class Index extends wepy.page {
config = {
navigationBarTitleText: 'test',
usingComponents: {
'i-button': '../components/iview/button/index'
}
}

引入一下就好了啊

但是在commponent中不能引入iview组件,因为weopy的components没有config配置,不能使用usingComponents,又不能使用import引入

from iview-weapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.