GithubHelp home page GithubHelp logo

Comments (12)

plouc avatar plouc commented on July 18, 2024

You'll have to tell browserify to transpile your module, https://github.com/plouc/mozaik-ext-github/blob/master/package.json#L49

from mozaik.

tlenclos avatar tlenclos commented on July 18, 2024

I'm using gulp watch on my mozaik project, npm link with my fork of your github widget. So I got the same package.json that you linked.

from mozaik.

tlenclos avatar tlenclos commented on July 18, 2024

Maybe you can document your workflow when creating a new widget or forking an existing one ?

from mozaik.

plouc avatar plouc commented on July 18, 2024

You're right, I could :) Unfortunately, I were not able to make the link npm command works because of peer dependencies, I put the git repo directly into the node_modules directory

from mozaik.

tlenclos avatar tlenclos commented on July 18, 2024

And what command are you doing to compile the files in node_modules/mozaik-ext-github for example ?

from mozaik.

plouc avatar plouc commented on July 18, 2024

Don't have have my laptop right now, but I think it's:

gulp watch:dev

BTW, the actual workflow is annoying, I'm planning to move to webpack soon

from mozaik.

plouc avatar plouc commented on July 18, 2024

@tlenclos, I'm closing this issue, feel free to create one if it doesn't work

from mozaik.

torarnv avatar torarnv commented on July 18, 2024

Any update on webpack? I'm looking into using mozaik for our dashboard, as it looks really shiny, but the process of creating a new widget seems a bit complicated, lots of react boilerplate, rebuilding between each code/style change. Is there a recommended workflow that perhaps looks more like the simplicity of dashing, e.g. https://gist.github.com/YuriKazakov/c85f8cbde7235105dd16 ?

from mozaik.

plouc avatar plouc commented on July 18, 2024

@torarnv, unfortunately, I don't have the time for now to work on my side projects

from mozaik.

plouc avatar plouc commented on July 18, 2024

You should have a look at the time widgets

from mozaik.

torarnv avatar torarnv commented on July 18, 2024

@plouc Sorry to hear that, but thanks for being honest! 👍

from mozaik.

plouc avatar plouc commented on July 18, 2024

but the time widget is light enough (with some react boilerplate) :)

from mozaik.

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.