Code Monkey home page Code Monkey logo

Comments (6)

OscarBarrett avatar OscarBarrett commented on May 14, 2024

Do you mean without having to use gulp? Because you can use the cli version of webpack/dev-server.

from react-bluekit.

theskillwithin avatar theskillwithin commented on May 14, 2024

yes! webpack/dev-server ?

our backend is done with cakephp in vagrant, does this generate a static component i can use?

from react-bluekit.

ondrejbartas avatar ondrejbartas commented on May 14, 2024

Hi in #99 we have support for cli commands so you dont need gulp. This task is generating index file which is then used as data for passing it to bluekit react component which you can add whenewer you want.

from react-bluekit.

theskillwithin avatar theskillwithin commented on May 14, 2024

thanks for the help! I still think I am a little lost tho, i am attempting it like this:

➜  v2 git:(release/mojo-v2) ✗ node_modules/react-bluekit/bin/bluekit.js --baseDir ./ --paths ./components
BlueKit generated components index to file: /Users/aupeterson/Projects/ansible-playbooks/marketplace/git-repos/marketplace/Apps/v2/componentsIndex.js
➜  v2 git:(release/mojo-v2) ✗ gss
 M package.json
?? componentsIndex.js
/* eslint-disable */
// Generated by component library do not modify

function dispatchEvent(data) {
  if (typeof window !== 'undefined') {
    const BluekitEvent = require('react-bluekit/lib/libraries/BluekitEvent');
    document.dispatchEvent(new BluekitEvent('functionTriggered', data));
  } else
    console.log('Bluekit received function triggered', data)
}

export default {
}

from react-bluekit.

theskillwithin avatar theskillwithin commented on May 14, 2024

https://gist.github.com/theskillwithin/758f7ed4933696148eef9b87aac2c704

from react-bluekit.

imtoo avatar imtoo commented on May 14, 2024

Hi, we merged v0.4.1 into master I hope it's gonna help.

Btw. this gist is not accessible, it throws 404.

from react-bluekit.

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.