Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小程序云 #305

Open
magoo-lau opened this issue Nov 26, 2019 · 0 comments
Open

小程序云 #305

magoo-lau opened this issue Nov 26, 2019 · 0 comments

Comments

@magoo-lau
Copy link

#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>

这个路径问题如何解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant