Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use no prefix #82

Open
louisdoe opened this issue Mar 24, 2017 · 1 comment
Open

how to use no prefix #82

louisdoe opened this issue Mar 24, 2017 · 1 comment

Comments

@louisdoe
Copy link

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

@thor-schueler
Copy link

@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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants