mirror of
https://github.com/localForage/localForage.git
synced 2026-01-25 14:44:26 +00:00
commit
edc0eb366d
@ -31,8 +31,8 @@ localForage includes a localStorage-backed fallback store for browsers with no I
|
||||
# Install via npm:
|
||||
npm install localforage
|
||||
|
||||
# Or with bower:
|
||||
bower install localforage
|
||||
# Or, with yarn:
|
||||
yarn add localforage
|
||||
```
|
||||
|
||||
```html
|
||||
@ -40,7 +40,7 @@ bower install localforage
|
||||
<script>console.log('localforage is: ', localforage);</script>
|
||||
```
|
||||
|
||||
To use localForage, [download the latest release](https://github.com/mozilla/localForage/releases) or install with [npm](https://www.npmjs.org/) (`npm install localforage`) or [bower](http://bower.io/) (`bower install localforage`).
|
||||
To use localForage, [download the latest release](https://github.com/mozilla/localForage/releases) or install with [npm](https://www.npmjs.org/) (`npm install localforage`) or [yarn](http://yarnpkg.com/) (`yarn add localforage`).
|
||||
|
||||
Then simply include the JS file and start using localForage: `<script src="localforage.js"></script>`. You don't need to run any init method or wait for any `onready` events.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user