Skip to content

小程序云 #305

@magoo-lau

Description

@magoo-lau

#304
在小程序云开发中发现 (不使用云开发无问题)
目录结构多了一层client 以下则出现错误 具体操作如下

从组件面板中拖出扩展组件tabs出现错误
axml

"Cannot find module '../../client/odules/mini-antui/es/tabs/index?hash=98312d6baf147808450308099c306c6c49c75d20'"

index.json文件

{
  "usingComponents": {
    "tabs": "mini-antui/es/tabs/index",
    "tab-content": "mini-antui/es/tabs/tab-content/index"
  }
}

index.axml文件

<view>
  this is a blank page

  <tabs tabs="{{[{title: 'Tab 1'},{title: 'Tab 2'}]}}" activeTab="0">
    <tab-content key="0">
      <view>content of tab 1</view>
    </tab-content>
    <tab-content key="1">
      <view>content of tab 2</view>
    </tab-content>
  </tabs>
</view>

这个路径问题如何解决

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions