Giter Club home page Giter Club logo

octoparse's People

Contributors

2753837446 avatar bogunyou avatar daissmentii avatar dicn avatar elcarim5efil avatar felixonmars avatar hustlion avatar icindy avatar issatan avatar jeff2ma avatar liuchungui avatar lpreterite avatar shenqihui avatar stonewen avatar vilien avatar webber007 avatar wuyanwen avatar yaoshanliang avatar zhuping 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

octoparse's Issues

在megalo(Vue)中,如何绑定事件

您好😊
仓库的例子中提供了几种小程序里绑定事件的方式

尝试着在megalo中使用的时候无法绑定事件

请问有例子可以参考吗 或者有没有相关的文档供翻阅

谢谢

"Path not found" error

I get "path not found" error but I'm sure the path is correct:

~/myproject/pages/index$ ls ../../node_modules/octoparse/lib/platform/wechat/index.wxml
../../node_modules/octoparse/lib/platform/wechat/index.wxml

How can I fix it ?

VM77397:5 ./pages/index/index.wxml
 Path `../../node_modules/octoparse/lib/platform/wechat/index.wxml` not found from `./pages/index/index.wxml`.
> 1 | <import src="../../node_modules/octoparse/lib/platform/wechat/index.wxml"/> 
    | ^
  2 | <view class="octoParse">
  3 |     <template is="octoParse" data="{{nodes:htmlData}}"/>
  4 | </view>

用rollup打包无法载入'lib/index'依赖

打包配置如下:

// rollup.config.js
import commonjs from 'rollup-plugin-commonjs';

export default {
  input: 'index.js',
  output: {
    file: 'bundle.js',
    format: 'es'
  },
  plugins: [ commonjs() ]
};

然后执行命令 rollup --config rollup.config.js

得到bundle.js文件如下:

var octoParse = require('./lib/index').default;

exports.octoParse = octoParse;

export default octoParse;

原因可能是 index.js 文件混用commonjs和ESM语法,导致rollup无法提取依赖

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.