angular2-localstorage icon indicating copy to clipboard operation
angular2-localstorage copied to clipboard

how to use no prefix

Open louisdoe opened this issue 7 years ago • 1 comments

Hi

I got this in my code:


@NgModule({
  declarations: [
   //...
  ],
  imports: [
    IonicModule.forRoot(MyApp),
    LocalStorageModule.withConfig({
      // prefix: 'MyApp',
      storageType: 'localStorage'
    })
  ],

but I still have a default prefix "ls".

Can you help me remove this ?

Thanks

louisdoe avatar Mar 24 '17 19:03 louisdoe

@louisdoe: could you please post the component or service code where you are trying to use the decorator or storage service?

Also, are you sure you are in the right repo? The module for this package is named WebStorageModule, not LocalStorageModule and it does not support the .withConfig() method...

thor-schueler avatar Apr 06 '17 13:04 thor-schueler