GithubHelp home page GithubHelp logo

Comments (10)

antonybudianto avatar antonybudianto commented on July 19, 2024

Thank you for reporting this issue!
I believe this is related to angular2 issue
I will keep this open to track it

from angular-starter.

antonybudianto avatar antonybudianto commented on July 19, 2024

Also, may I know which line number you put the es6 shim in index.html? or you can send me the whole snippet

from angular-starter.

antonybudianto avatar antonybudianto commented on July 19, 2024

if you put es6-shim script reference below angular2-polyfills, it works

from angular-starter.

talmog avatar talmog commented on July 19, 2024

That didn't work for me, but putting it before everything abive <!-- build:js assets/bundle.js --> did!
Thank you very much!
one more quick questions: how come you have <!-- build:remove --> around rx and angular? where will angular load from if you remove it at build?

from angular-starter.

antonybudianto avatar antonybudianto commented on July 19, 2024

I use systemjs builder to bundle them, refer here, that's why I remove them when bundling (gulp build or gulp serve-build) since it's only used when development.
The bundling process will output one boot.js file which then loaded by systemjs in index.html

from angular-starter.

talmog avatar talmog commented on July 19, 2024

Thank you!

from angular-starter.

antonybudianto avatar antonybudianto commented on July 19, 2024

my pleasure :)
just FYI, if you happen to need another angular2 bundles like angular2/http, just put the script tag inside <!-- build:remove -->, the bundling process will be handled by wildcard so don't need to put it in the config again

from angular-starter.

talmog avatar talmog commented on July 19, 2024

Awesome, thank you so much!

from angular-starter.

rdai avatar rdai commented on July 19, 2024

I don't know if it is ok to comment on a closed issue or better starting a new one.

I am very new to many of the libraries and features, when I did gulp build of the vanilla git clone and copy the build folder to my remote apache server, the index.html won't load with the error

"index.html:20 Uncaught ReferenceError: System is not defined(anonymous function) @ index.html:20"

It works locally with "gulp servedev", since it looks similar to this issue, I tried to move the es6-shim around but it is still not working.

Any ideas? Thanks!

from angular-starter.

antonybudianto7 avatar antonybudianto7 commented on July 19, 2024

@rdai , Please open new issue with more details there

from angular-starter.

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.