Git Product home page Git Product logo

taro-dva's Introduction

整合 taro-dvajs

本项目整合了taro 和 dvajs,页面代码来自 仿知乎小程序

相关框架内容请去官网

  1. taro
  2. dvajs

1. 使用 npm 或者 yarn 全局安装

npm install -g @tarojs/cli
// 或
yarn global add @tarojs/cli

2. 然后使用npm 或者yarn 安装依赖

npm install
// 或
yarn

3. 开始启动编译小程序

npm run dev:weapp
// 或
yarn run dev:weapp

4. 使用小程序开发工具打开dist 目录

已知问题

在h5端的上下拉刷新实现有问题

我的blog地址: https://www.forkjoin.org

关注我的微信公众号:

小草的泡码笔记

开发QQ群 173103450 微信群:

taro-dva's People

Contributors

lostsakya avatar zuoge85 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

taro-dva's Issues

感谢🙏

看了你的实现 ,我在wepy中也引入了dva-core,真棒

module "npm/dva-core/index.js" is not defined

大佬你有碰到过 taro小程序搭配dva-core 运行报这个错吗?

taro版本目前是@1.3.X-beta5了 dva-core还是@1.04
我即使把taro降级版本到1.2.X也还是这个报错
运行yarn dev:weapp也没有任何报错
image

编译报错

显示找不到feed组件,但是路径什么都是对的
VM3662:1 jsEnginScriptError
Component is not found in path "components/feed/feed.js" (using by "pages/discovery/discovery")
Error: Component is not found in path "components/feed/feed.js" (using by "pages/discovery/discovery")

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.