Giter VIP home page Giter VIP logo

Comments (3)

Mordred avatar Mordred commented on July 4, 2024

Hi, I have fixed example and also update bootstraping, because manual bootstraping has some bugs (aurelia/templating-resources#173)

But I recommend you to setup https://github.com/aurelia/bundler to bundle your production.js file instead of the sails's default prod grunt task.

from aurelia-sails-socket-client.

JasonWeiseUnreal avatar JasonWeiseUnreal commented on July 4, 2024

Thanks so much, that got it working though I think I might have other issues that are probably not related to your example and more JSPM (maybe).

Your recent commit works in Chrome but Internet Explorer 11 is failing with 'system' is undefined and refers to production.min.js.

As a side note, I think I might need to look at the Aurelia bundler as the number of requests just opening the example in Chrome sits at 362 (in production mode).

As I am just getting my head around Aurelia, don't suppose you have any advice on how to configure the Aurelia bundler when integrated like this. The Aurelia docs work great for a Vanilla demo of Aurelia, but in an example like yours I cannot see where I need to make the changes (or how I move it from grunt to the Aurelia bundler)

Sorry if too many questions and I understand if they are outside the scope of supporting this example, I really like this solution to real-time web you have here and just trying to get my head around how it all integrates.

Cheers :)

from aurelia-sails-socket-client.

Mordred avatar Mordred commented on July 4, 2024

You are lucky man :) I had some time today so I have fixed toggling todo after some Aurelia changes. Also, I have updated Aurelia packages for example and have added simple bundle task to grunt.

from aurelia-sails-socket-client.

Related Issues (11)

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.