Code Monkey home page Code Monkey logo

Comments (7)

akuji1993 avatar akuji1993 commented on May 31, 2024 2

The one hosted here still doesn't load.

from react-pts-canvas-examples.

williamngan avatar williamngan commented on May 31, 2024 1

I rewrote the example components and updated the docs. Please take a look and see if you find any issues. Thanks everyone!
https://williamngan.github.io/pts-react-example/build/

from react-pts-canvas-examples.

williamngan avatar williamngan commented on May 31, 2024

Oops, I totally forgot to update this react repo. Sorry about that, I'll try to fix it tomorrow. Thanks for reporting, @0xAubrey !

from react-pts-canvas-examples.

williamngan avatar williamngan commented on May 31, 2024

Actually I just updated the package versions and it seems to be working now. Will take a closer look and update React etc soon.

from react-pts-canvas-examples.

williamngan avatar williamngan commented on May 31, 2024

Oops, sorry, forgot to add "homepage" to package.json. Should be fixed now.

I'll clean this up more this weekend. Also looks like es6 minify will finally work with react-scripts 2.0 next. Stay tuned!

from react-pts-canvas-examples.

williamngan avatar williamngan commented on May 31, 2024

Update: npm run build now completes without errors, thanks to neutrino.js. See the updated README for more.

from react-pts-canvas-examples.

williamngan avatar williamngan commented on May 31, 2024

Another update :) Pts now supports ES5 build and so tools such as create-react-app will build successfully now.

To use ES5 version of Pts, import like this:

import {Pt} from 'pts/dist/es5';

from react-pts-canvas-examples.

Related Issues (5)

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.