Comments (3)
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.
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.
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)
- Setup? HOT 2
- Example app runs, but contains no content HOT 1
- Request
- Sails installation HOT 1
- Running example app HOT 3
- Socket HOT 3
- Post message isn't picking up url but picking base url HOT 6
- Separate backend/frontend HOT 1
- Connections outside an isomorphic sails app doesn't seem to work. HOT 5
- disabled autoconnect HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aurelia-sails-socket-client.