Skip to content

Commit a355288

Browse files
committed
2 parents ea4346f + 0a088cc commit a355288

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@ console.log(composable.state.value)
3030

3131
Objects are used to make the composables and functions parameters more explicit, flexible and to allow backward-compatibility if new parameters are added in the future.
3232

33+
## Demo App
34+
35+
To test the composables locally and review code samples:
36+
37+
1. Install Docker and Node.js
38+
2. Clone this repository and run `npm install`
39+
4. Run `npm run dev` to start the Demo App
40+
41+
To use the Google-related composables:
42+
43+
1. Create a Google Cloud project
44+
2. Activate the Drive API and create an OAuth client
45+
3. Modify and save the credentials.template.js file as credentials.js
46+
3347
## Composables
3448

3549
### Type
@@ -149,17 +163,3 @@ signOut() // Sign-out user from Google
149163
// State
150164
token // Readonly, reactive access token, automatically refreshed
151165
````
152-
153-
## Demo App
154-
155-
To test the composables locally and review code samples:
156-
157-
1. Install Docker and Node.js
158-
2. Clone this repository and run `npm install`
159-
4. Run `npm run dev` to start the Demo App
160-
161-
To use the Google-related composables:
162-
163-
1. Create a Google Cloud project
164-
2. Activate the Drive API and create an OAuth client
165-
3. Modify and save the credentials.template.js file as credentials.js

0 commit comments

Comments
 (0)