1

I am working with SQLite and Ionic2. So far so good. However, I can't seems to make it work while browsing it with Ionic Serve. To put in the scenario: sometimes I need to make a quick layout adjustment / design which can be very nice if I could use browser to check instead of build and put on the emulator / devices.

Any idea how to make an SQLite work in web browser? If it is not possible, any better alternative / approach.

Thank you

tsuryadi
  • 421
  • 4
  • 9

1 Answers1

1

The SQLite plugin doesn't support browser but you could either mock your SQLite using ionic-native-mocks or setup a different project without any plugins and design your pages there. A good example about mocking could be this blog.

GrandSack
  • 26
  • 1