Git Product home page Git Product logo

Comments (3)

cankayacan avatar cankayacan commented on September 4, 2024

That plugin replaces the templateUrl: 'modal-gallery.html' with the template: html-content.

Your bundle should not include templateUrl: anymore but the content of the html file. Could you please check if it is correct?

from ngx-library-starter.

Ks89 avatar Ks89 commented on September 4, 2024

Thank u for the answer.

With Angular 4 everything is ok (styles and templates inlined)
schermata 2017-09-19 alle 20 29 02 copia

With Angular 5 beta 7 + typescript 2.4.2 I have urls instead of the contents.
schermata 2017-09-19 alle 20 29 57 copia

I attached to this post my bundles in a zip file.

angular-modal-gallery.umd.zip

PS: the angular 5 version is really strange, because it seems "not compiled". I don't understand, because this is happening only with the umd bundle

from ngx-library-starter.

Ks89 avatar Ks89 commented on September 4, 2024

I tried to run "ngc" manually and

  • with angular 4 I can see compiled files with "var __decorate" and so on
  • with angular 5 no. They are simple js files without decorators.

I think that it's an Angular's bug, or ngc will be deprecated for another utility.

What do you think about this?

from ngx-library-starter.

Related Issues (2)

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.