Giter VIP home page Giter VIP logo

Comments (5)

gilf avatar gilf commented on August 19, 2024 1

Hi,

Sorry for the late response.
As ilanov wrote, you don't need to import the generated js file and you should use import with the TS code. Another option is to use a bundler such as Webpack or Browserify to bundle the code so you won't need to import the js file.

from angular2-indexeddb.

ilanov avatar ilanov commented on August 19, 2024

Hi,

Is this one solved???

Thanks!

from angular2-indexeddb.

migueluvieu2 avatar migueluvieu2 commented on August 19, 2024

No :( ... I decided to use AngularFireOffline in my pwa application ... Have you tried localforage? https://github.com/ocombe/angular-localForage

from angular2-indexeddb.

ilanov avatar ilanov commented on August 19, 2024

Eventually it is not needed to import the js file in index.html in case that you are using typescript.
Just skip this step. It should work.

from angular2-indexeddb.

migueluvieu avatar migueluvieu commented on August 19, 2024

thank you very much to both! :)

from angular2-indexeddb.

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.