├── .gitignore ├── LICENSE ├── README.md ├── chapter-01 ├── 1_1 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ └── CurrentTime.vue │ │ ├── main.js │ │ └── style.css ├── 1_10 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── CurrentTime.vue │ │ └── TaskInput.vue │ │ ├── main.js │ │ └── style.css ├── 1_2 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── CurrentTime.vue │ │ └── TaskInput.vue │ │ ├── main.js │ │ └── style.css ├── 1_3 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── CurrentTime.vue │ │ └── TaskInput.vue │ │ ├── main.js │ │ └── style.css ├── 1_4 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── CurrentTime.vue │ │ └── TaskInput.vue │ │ ├── main.js │ │ └── style.css ├── 1_5 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── CurrentTime.vue │ │ └── TaskInput.vue │ │ ├── main.js │ │ └── style.css ├── 1_6 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── CurrentTime.vue │ │ └── TaskInput.vue │ │ ├── main.js │ │ └── style.css ├── 1_7 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── CurrentTime.vue │ │ └── TaskInput.vue │ │ ├── main.js │ │ └── style.css ├── 1_8 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── CurrentTime.vue │ │ └── TaskInput.vue │ │ ├── main.js │ │ └── style.css ├── 1_9 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── CurrentTime.vue │ │ └── TaskInput.vue │ │ ├── main.js │ │ └── style.css └── README.md ├── chapter-02 ├── 2_1 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ └── MaterialCardBox.vue │ │ ├── main.js │ │ └── style │ │ └── elevation.css ├── 2_2 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ └── MaterialCardBox.vue │ │ ├── main.js │ │ └── style │ │ ├── cardStyles.css │ │ └── elevation.css ├── 2_3 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ └── MaterialCardBox.vue │ │ ├── main.js │ │ └── style │ │ ├── cardStyles.css │ │ └── elevation.css ├── 2_4 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── MaterialButton.vue │ │ └── MaterialCardBox.vue │ │ ├── main.js │ │ └── style │ │ ├── cardStyles.css │ │ └── elevation.css ├── 2_5 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── MaterialButton.vue │ │ ├── MaterialCardBox.vue │ │ ├── StarRating.vue │ │ ├── StarRatingDisplay.vue │ │ └── StarRatingInput.vue │ │ ├── main.js │ │ └── style │ │ ├── cardStyles.css │ │ ├── elevation.css │ │ ├── materialIcons.css │ │ └── starRating.css ├── 2_6 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── MaterialButton.vue │ │ ├── MaterialCardBox.vue │ │ ├── StarRating.vue │ │ ├── StarRatingDisplay.vue │ │ └── StarRatingInput.vue │ │ ├── main.js │ │ └── style │ │ ├── cardStyles.css │ │ ├── elevation.css │ │ ├── materialIcons.css │ │ └── starRating.css ├── 2_7 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── MaterialButton.vue │ │ ├── MaterialCardBox.vue │ │ ├── StarRating.vue │ │ ├── StarRatingDisplay.vue │ │ └── StarRatingInput.vue │ │ ├── main.js │ │ └── style │ │ ├── cardStyles.css │ │ ├── elevation.css │ │ ├── materialIcons.css │ │ └── starRating.css ├── 2_8 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── MaterialButton.vue │ │ ├── MaterialCardBox.vue │ │ ├── StarRating.vue │ │ ├── StarRatingDisplay.vue │ │ └── StarRatingInput.vue │ │ ├── main.js │ │ ├── mixins │ │ ├── starRatingBase.js │ │ ├── starRatingChild.js │ │ ├── starRatingDisplay.js │ │ └── starRatingName.js │ │ └── style │ │ ├── cardStyles.css │ │ ├── elevation.css │ │ ├── materialIcons.css │ │ └── starRating.css ├── 2_9 │ ├── .browserslistrc │ ├── .editorconfig │ ├── .eslintrc.js │ ├── .gitignore │ ├── README.md │ ├── babel.config.js │ ├── package-lock.json │ ├── package.json │ ├── postcss.config.js │ ├── public │ │ ├── favicon.ico │ │ └── index.html │ └── src │ │ ├── App.vue │ │ ├── assets │ │ └── logo.png │ │ ├── components │ │ ├── MaterialButton.vue │ │ ├── MaterialCardBox.vue │ │ ├── StarRating.vue │ │ ├── StarRatingDisplay.vue │ │ └── StarRatingInput.vue │ │ ├── main.js │ │ ├── mixins │ │ ├── starRatingBase.js │ │ ├── starRatingChild.js │ │ ├── starRatingDisplay.js │ │ └── starRatingName.js │ │ └── style │ │ ├── cardStyles.css │ │ ├── elevation.css │ │ ├── materialIcons.css │ │ └── starRating.css └── README.md ├── chapter-03 ├── 3_1 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .postcssrc.js │ ├── .stylintrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── README.md │ ├── babel.config.js │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── app-logo-128x128.png │ │ └── icons │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-167x167.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── favicon.ico │ │ │ ├── icon-128x128.png │ │ │ ├── icon-192x192.png │ │ │ ├── icon-256x256.png │ │ │ ├── icon-384x384.png │ │ │ ├── icon-512x512.png │ │ │ ├── ms-icon-144x144.png │ │ │ └── safari-pinned-tab.svg │ ├── quasar.conf.js │ └── src │ │ ├── App.vue │ │ ├── assets │ │ ├── quasar-logo-full.svg │ │ └── sad.svg │ │ ├── boot │ │ ├── .gitkeep │ │ └── axios.js │ │ ├── components │ │ └── .gitkeep │ │ ├── css │ │ ├── app.styl │ │ └── quasar.variables.styl │ │ ├── index.template.html │ │ ├── layouts │ │ └── MyLayout.vue │ │ ├── pages │ │ ├── Error404.vue │ │ └── Index.vue │ │ ├── router │ │ ├── index.js │ │ └── routes.js │ │ └── store │ │ ├── index.js │ │ ├── module-example │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ └── state.js │ │ └── store-flag.d.ts ├── 3_2 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .graphqlconfig.yml │ ├── .postcssrc.js │ ├── .stylintrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── README.md │ ├── babel.config.js │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── app-logo-128x128.png │ │ └── icons │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-167x167.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── favicon.ico │ │ │ ├── icon-128x128.png │ │ │ ├── icon-192x192.png │ │ │ ├── icon-256x256.png │ │ │ ├── icon-384x384.png │ │ │ ├── icon-512x512.png │ │ │ ├── ms-icon-144x144.png │ │ │ └── safari-pinned-tab.svg │ ├── quasar.conf.js │ └── src │ │ ├── App.vue │ │ ├── assets │ │ ├── quasar-logo-full.svg │ │ └── sad.svg │ │ ├── boot │ │ ├── .gitkeep │ │ └── axios.js │ │ ├── chatApi.graphql │ │ ├── components │ │ └── .gitkeep │ │ ├── css │ │ ├── app.styl │ │ └── quasar.variables.styl │ │ ├── graphql │ │ ├── mutations.js │ │ ├── queries.js │ │ ├── schema.json │ │ └── subscriptions.js │ │ ├── index.template.html │ │ ├── layouts │ │ └── MyLayout.vue │ │ ├── pages │ │ ├── Error404.vue │ │ └── Index.vue │ │ ├── router │ │ ├── index.js │ │ └── routes.js │ │ └── store │ │ ├── index.js │ │ ├── module-example │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ └── state.js │ │ └── store-flag.d.ts ├── 3_3 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .graphqlconfig.yml │ ├── .postcssrc.js │ ├── .stylintrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── README.md │ ├── babel.config.js │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── app-logo-128x128.png │ │ └── icons │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-167x167.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── favicon.ico │ │ │ ├── icon-128x128.png │ │ │ ├── icon-192x192.png │ │ │ ├── icon-256x256.png │ │ │ ├── icon-384x384.png │ │ │ ├── icon-512x512.png │ │ │ ├── ms-icon-144x144.png │ │ │ └── safari-pinned-tab.svg │ ├── quasar.conf.js │ └── src │ │ ├── App.vue │ │ ├── assets │ │ ├── quasar-logo-full.svg │ │ └── sad.svg │ │ ├── boot │ │ ├── .gitkeep │ │ ├── amplify.js │ │ └── axios.js │ │ ├── chatApi.graphql │ │ ├── components │ │ └── .gitkeep │ │ ├── css │ │ ├── app.styl │ │ └── quasar.variables.styl │ │ ├── driver │ │ └── graphql.js │ │ ├── graphql │ │ ├── mutations.js │ │ ├── queries.js │ │ ├── schema.json │ │ └── subscriptions.js │ │ ├── index.template.html │ │ ├── layouts │ │ └── MyLayout.vue │ │ ├── pages │ │ ├── Error404.vue │ │ └── Index.vue │ │ ├── router │ │ ├── index.js │ │ └── routes.js │ │ └── store │ │ ├── index.js │ │ ├── module-example │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ └── state.js │ │ └── store-flag.d.ts ├── 3_4 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .graphqlconfig.yml │ ├── .postcssrc.js │ ├── .stylintrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── README.md │ ├── babel.config.js │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── app-logo-128x128.png │ │ └── icons │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-167x167.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── favicon.ico │ │ │ ├── icon-128x128.png │ │ │ ├── icon-192x192.png │ │ │ ├── icon-256x256.png │ │ │ ├── icon-384x384.png │ │ │ ├── icon-512x512.png │ │ │ ├── ms-icon-144x144.png │ │ │ └── safari-pinned-tab.svg │ ├── quasar.conf.js │ └── src │ │ ├── App.vue │ │ ├── assets │ │ ├── quasar-logo-full.svg │ │ └── sad.svg │ │ ├── boot │ │ ├── .gitkeep │ │ ├── amplify.js │ │ └── axios.js │ │ ├── chatApi.graphql │ │ ├── components │ │ └── .gitkeep │ │ ├── css │ │ ├── app.styl │ │ └── quasar.variables.styl │ │ ├── driver │ │ ├── appsync.js │ │ ├── auth.js │ │ ├── bucket.js │ │ └── graphql.js │ │ ├── graphql │ │ ├── mutations.js │ │ ├── queries.js │ │ ├── schema.json │ │ └── subscriptions.js │ │ ├── index.template.html │ │ ├── layouts │ │ └── MyLayout.vue │ │ ├── pages │ │ ├── Error404.vue │ │ └── Index.vue │ │ ├── router │ │ ├── index.js │ │ └── routes.js │ │ └── store │ │ ├── index.js │ │ ├── module-example │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ └── state.js │ │ └── store-flag.d.ts └── README.md ├── chapter-04 ├── 4_1 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .graphqlconfig.yml │ ├── .postcssrc.js │ ├── .stylintrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── README.md │ ├── babel.config.js │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── app-logo-128x128.png │ │ └── icons │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-167x167.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── favicon.ico │ │ │ ├── icon-128x128.png │ │ │ ├── icon-192x192.png │ │ │ ├── icon-256x256.png │ │ │ ├── icon-384x384.png │ │ │ ├── icon-512x512.png │ │ │ ├── ms-icon-144x144.png │ │ │ └── safari-pinned-tab.svg │ ├── quasar.conf.js │ └── src │ │ ├── App.vue │ │ ├── assets │ │ ├── quasar-logo-full.svg │ │ └── sad.svg │ │ ├── boot │ │ ├── .gitkeep │ │ ├── amplify.js │ │ └── axios.js │ │ ├── chatApi.graphql │ │ ├── components │ │ ├── .gitkeep │ │ ├── AvatarDisplay.vue │ │ ├── AvatarInput.vue │ │ ├── EmailInput.vue │ │ ├── NameInput.vue │ │ ├── PasswordInput.vue │ │ └── UsernameInput.vue │ │ ├── css │ │ ├── app.styl │ │ └── quasar.variables.styl │ │ ├── driver │ │ ├── appsync.js │ │ ├── auth.js │ │ ├── bucket.js │ │ └── graphql.js │ │ ├── graphql │ │ ├── mutations.js │ │ ├── queries.js │ │ ├── schema.json │ │ └── subscriptions.js │ │ ├── index.template.html │ │ ├── layouts │ │ └── MyLayout.vue │ │ ├── mixins │ │ └── getAvatar.js │ │ ├── pages │ │ ├── Error404.vue │ │ └── Index.vue │ │ ├── router │ │ ├── index.js │ │ └── routes.js │ │ └── store │ │ ├── index.js │ │ ├── module-example │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ └── state.js │ │ └── store-flag.d.ts ├── 4_2 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .graphqlconfig.yml │ ├── .postcssrc.js │ ├── .stylintrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── README.md │ ├── babel.config.js │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── app-logo-128x128.png │ │ └── icons │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-167x167.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── favicon.ico │ │ │ ├── icon-128x128.png │ │ │ ├── icon-192x192.png │ │ │ ├── icon-256x256.png │ │ │ ├── icon-384x384.png │ │ │ ├── icon-512x512.png │ │ │ ├── ms-icon-144x144.png │ │ │ └── safari-pinned-tab.svg │ ├── quasar.conf.js │ └── src │ │ ├── App.vue │ │ ├── assets │ │ ├── quasar-logo-full.svg │ │ └── sad.svg │ │ ├── boot │ │ ├── .gitkeep │ │ ├── amplify.js │ │ └── axios.js │ │ ├── chatApi.graphql │ │ ├── components │ │ ├── .gitkeep │ │ ├── AvatarDisplay.vue │ │ ├── AvatarInput.vue │ │ ├── EmailInput.vue │ │ ├── NameInput.vue │ │ ├── PasswordInput.vue │ │ └── UsernameInput.vue │ │ ├── css │ │ ├── app.styl │ │ └── quasar.variables.styl │ │ ├── driver │ │ ├── appsync.js │ │ ├── auth.js │ │ ├── bucket.js │ │ └── graphql.js │ │ ├── graphql │ │ ├── mutations.js │ │ ├── queries.js │ │ ├── schema.json │ │ └── subscriptions.js │ │ ├── index.template.html │ │ ├── layouts │ │ ├── Base.vue │ │ ├── Chat.vue │ │ └── MyLayout.vue │ │ ├── mixins │ │ └── getAvatar.js │ │ ├── pages │ │ ├── Error404.vue │ │ └── Index.vue │ │ ├── router │ │ ├── index.js │ │ └── routes.js │ │ └── store │ │ ├── index.js │ │ ├── module-example │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ └── state.js │ │ ├── store-flag.d.ts │ │ └── user │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ ├── state.js │ │ └── types.js └── README.md ├── chapter-05 ├── 5_1 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .graphqlconfig.yml │ ├── .postcssrc.js │ ├── .stylintrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── README.md │ ├── babel.config.js │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── app-logo-128x128.png │ │ └── icons │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-167x167.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── favicon.ico │ │ │ ├── icon-128x128.png │ │ │ ├── icon-192x192.png │ │ │ ├── icon-256x256.png │ │ │ ├── icon-384x384.png │ │ │ ├── icon-512x512.png │ │ │ ├── ms-icon-144x144.png │ │ │ └── safari-pinned-tab.svg │ ├── quasar.conf.js │ └── src │ │ ├── App.vue │ │ ├── assets │ │ ├── quasar-logo-full.svg │ │ └── sad.svg │ │ ├── boot │ │ ├── .gitkeep │ │ ├── amplify.js │ │ └── axios.js │ │ ├── chatApi.graphql │ │ ├── components │ │ ├── .gitkeep │ │ ├── AvatarDisplay.vue │ │ ├── AvatarInput.vue │ │ ├── EmailInput.vue │ │ ├── NameInput.vue │ │ ├── PasswordInput.vue │ │ └── UsernameInput.vue │ │ ├── css │ │ ├── app.styl │ │ └── quasar.variables.styl │ │ ├── driver │ │ ├── appsync.js │ │ ├── auth.js │ │ ├── bucket.js │ │ └── graphql.js │ │ ├── graphql │ │ ├── fragments.js │ │ ├── mutations.js │ │ ├── queries.js │ │ ├── schema.json │ │ └── subscriptions.js │ │ ├── index.template.html │ │ ├── layouts │ │ ├── .gitkeep │ │ └── MyLayout.vue │ │ ├── mixins │ │ └── getAvatar.js │ │ ├── pages │ │ ├── .gitkeep │ │ ├── Error404.vue │ │ └── Index.vue │ │ ├── router │ │ ├── index.js │ │ └── routes.js │ │ └── store │ │ ├── index.js │ │ ├── module-example │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ └── state.js │ │ ├── store-flag.d.ts │ │ └── user │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ ├── state.js │ │ └── types.js ├── 5_2 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .graphqlconfig.yml │ ├── .postcssrc.js │ ├── .stylintrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── README.md │ ├── babel.config.js │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── app-logo-128x128.png │ │ └── icons │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-167x167.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── favicon.ico │ │ │ ├── icon-128x128.png │ │ │ ├── icon-192x192.png │ │ │ ├── icon-256x256.png │ │ │ ├── icon-384x384.png │ │ │ ├── icon-512x512.png │ │ │ ├── ms-icon-144x144.png │ │ │ └── safari-pinned-tab.svg │ ├── quasar.conf.js │ └── src │ │ ├── App.vue │ │ ├── assets │ │ ├── quasar-logo-full.svg │ │ └── sad.svg │ │ ├── boot │ │ ├── .gitkeep │ │ ├── amplify.js │ │ ├── axios.js │ │ └── routeGuard.js │ │ ├── chatApi.graphql │ │ ├── components │ │ ├── .gitkeep │ │ ├── AvatarDisplay.vue │ │ ├── AvatarInput.vue │ │ ├── EmailInput.vue │ │ ├── NameInput.vue │ │ ├── PasswordInput.vue │ │ └── UsernameInput.vue │ │ ├── css │ │ ├── app.styl │ │ └── quasar.variables.styl │ │ ├── driver │ │ ├── appsync.js │ │ ├── auth.js │ │ ├── bucket.js │ │ └── graphql.js │ │ ├── graphql │ │ ├── fragments.js │ │ ├── mutations.js │ │ ├── queries.js │ │ ├── schema.json │ │ └── subscriptions.js │ │ ├── index.template.html │ │ ├── layouts │ │ ├── Base.vue │ │ └── Chat.vue │ │ ├── mixins │ │ └── getAvatar.js │ │ ├── pages │ │ ├── Contacts.vue │ │ ├── Edit.vue │ │ ├── Error404.vue │ │ ├── Index.vue │ │ ├── Messages.vue │ │ ├── SignUp.vue │ │ └── Validate.vue │ │ ├── router │ │ ├── index.js │ │ └── routes.js │ │ └── store │ │ ├── index.js │ │ ├── module-example │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ └── state.js │ │ ├── store-flag.d.ts │ │ └── user │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ ├── state.js │ │ └── types.js └── README.md ├── chapter-06 ├── 6_1 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .graphqlconfig.yml │ ├── .postcssrc.js │ ├── .stylintrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── README.md │ ├── babel.config.js │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── app-logo-128x128.png │ │ └── icons │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-167x167.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── favicon.ico │ │ │ ├── icon-128x128.png │ │ │ ├── icon-192x192.png │ │ │ ├── icon-256x256.png │ │ │ ├── icon-384x384.png │ │ │ ├── icon-512x512.png │ │ │ ├── ms-icon-144x144.png │ │ │ └── safari-pinned-tab.svg │ ├── quasar.conf.js │ └── src │ │ ├── App.vue │ │ ├── assets │ │ ├── quasar-logo-full.svg │ │ └── sad.svg │ │ ├── boot │ │ ├── .gitkeep │ │ ├── amplify.js │ │ ├── axios.js │ │ └── routeGuard.js │ │ ├── chatApi.graphql │ │ ├── components │ │ ├── .gitkeep │ │ ├── AvatarDisplay.vue │ │ ├── AvatarInput.vue │ │ ├── EmailInput.vue │ │ ├── NameInput.vue │ │ ├── PasswordInput.vue │ │ └── UsernameInput.vue │ │ ├── css │ │ ├── app.styl │ │ └── quasar.variables.styl │ │ ├── driver │ │ ├── appsync.js │ │ ├── auth.js │ │ ├── bucket.js │ │ └── graphql.js │ │ ├── graphql │ │ ├── fragments.js │ │ ├── mutations.js │ │ ├── queries.js │ │ ├── schema.json │ │ └── subscriptions.js │ │ ├── index.template.html │ │ ├── layouts │ │ ├── Base.vue │ │ └── Chat.vue │ │ ├── mixins │ │ └── getAvatar.js │ │ ├── pages │ │ ├── Contacts.vue │ │ ├── Edit.vue │ │ ├── Error404.vue │ │ ├── Index.vue │ │ ├── Messages.vue │ │ ├── SignUp.vue │ │ └── Validate.vue │ │ ├── router │ │ ├── index.js │ │ └── routes.js │ │ └── store │ │ ├── index.js │ │ ├── module-example │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ └── state.js │ │ ├── store-flag.d.ts │ │ └── user │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ ├── state.js │ │ └── types.js ├── 6_2 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .graphqlconfig.yml │ ├── .postcssrc.js │ ├── .stylintrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── README.md │ ├── babel.config.js │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── app-logo-128x128.png │ │ └── icons │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-167x167.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── favicon.ico │ │ │ ├── icon-128x128.png │ │ │ ├── icon-192x192.png │ │ │ ├── icon-256x256.png │ │ │ ├── icon-384x384.png │ │ │ ├── icon-512x512.png │ │ │ ├── ms-icon-144x144.png │ │ │ └── safari-pinned-tab.svg │ ├── quasar.conf.js │ └── src │ │ ├── App.vue │ │ ├── assets │ │ ├── quasar-logo-full.svg │ │ └── sad.svg │ │ ├── boot │ │ ├── .gitkeep │ │ ├── amplify.js │ │ ├── axios.js │ │ └── routeGuard.js │ │ ├── chatApi.graphql │ │ ├── components │ │ ├── .gitkeep │ │ ├── AvatarDisplay.vue │ │ ├── AvatarInput.vue │ │ ├── EmailInput.vue │ │ ├── NameInput.vue │ │ ├── PasswordInput.vue │ │ └── UsernameInput.vue │ │ ├── css │ │ ├── app.styl │ │ └── quasar.variables.styl │ │ ├── driver │ │ ├── appsync.js │ │ ├── auth.js │ │ ├── bucket.js │ │ └── graphql.js │ │ ├── graphql │ │ ├── fragments.js │ │ ├── mutations.js │ │ ├── queries.js │ │ ├── schema.json │ │ └── subscriptions.js │ │ ├── index.template.html │ │ ├── layouts │ │ ├── Base.vue │ │ └── Chat.vue │ │ ├── mixins │ │ └── getAvatar.js │ │ ├── pages │ │ ├── Contacts.vue │ │ ├── Edit.vue │ │ ├── Error404.vue │ │ ├── Index.vue │ │ ├── Messages.vue │ │ ├── SignUp.vue │ │ └── Validate.vue │ │ ├── router │ │ ├── index.js │ │ └── routes.js │ │ └── store │ │ ├── chat │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ ├── state.js │ │ └── types.js │ │ ├── index.js │ │ ├── module-example │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ └── state.js │ │ ├── store-flag.d.ts │ │ └── user │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ ├── state.js │ │ └── types.js ├── 6_3 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .graphqlconfig.yml │ ├── .postcssrc.js │ ├── .stylintrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── README.md │ ├── babel.config.js │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── app-logo-128x128.png │ │ └── icons │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-167x167.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── favicon.ico │ │ │ ├── icon-128x128.png │ │ │ ├── icon-192x192.png │ │ │ ├── icon-256x256.png │ │ │ ├── icon-384x384.png │ │ │ ├── icon-512x512.png │ │ │ ├── ms-icon-144x144.png │ │ │ └── safari-pinned-tab.svg │ ├── quasar.conf.js │ └── src │ │ ├── App.vue │ │ ├── assets │ │ ├── quasar-logo-full.svg │ │ └── sad.svg │ │ ├── boot │ │ ├── .gitkeep │ │ ├── amplify.js │ │ ├── axios.js │ │ └── routeGuard.js │ │ ├── chatApi.graphql │ │ ├── components │ │ ├── .gitkeep │ │ ├── AvatarDisplay.vue │ │ ├── AvatarInput.vue │ │ ├── EmailInput.vue │ │ ├── NameInput.vue │ │ ├── NewConversation.vue │ │ ├── PasswordInput.vue │ │ └── UsernameInput.vue │ │ ├── css │ │ ├── app.styl │ │ └── quasar.variables.styl │ │ ├── driver │ │ ├── appsync.js │ │ ├── auth.js │ │ ├── bucket.js │ │ └── graphql.js │ │ ├── graphql │ │ ├── fragments.js │ │ ├── mutations.js │ │ ├── queries.js │ │ ├── schema.json │ │ └── subscriptions.js │ │ ├── index.template.html │ │ ├── layouts │ │ ├── Base.vue │ │ └── Chat.vue │ │ ├── mixins │ │ └── getAvatar.js │ │ ├── pages │ │ ├── Contacts.vue │ │ ├── Edit.vue │ │ ├── Error404.vue │ │ ├── Index.vue │ │ ├── Messages.vue │ │ ├── SignUp.vue │ │ └── Validate.vue │ │ ├── router │ │ ├── index.js │ │ └── routes.js │ │ └── store │ │ ├── chat │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ ├── state.js │ │ └── types.js │ │ ├── index.js │ │ ├── module-example │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ └── state.js │ │ ├── store-flag.d.ts │ │ └── user │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ ├── state.js │ │ └── types.js ├── 6_4 │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc.js │ ├── .gitignore │ ├── .graphqlconfig.yml │ ├── .postcssrc.js │ ├── .stylintrc │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── README.md │ ├── babel.config.js │ ├── jsconfig.json │ ├── package-lock.json │ ├── package.json │ ├── public │ │ ├── app-logo-128x128.png │ │ └── icons │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-167x167.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── favicon.ico │ │ │ ├── icon-128x128.png │ │ │ ├── icon-192x192.png │ │ │ ├── icon-256x256.png │ │ │ ├── icon-384x384.png │ │ │ ├── icon-512x512.png │ │ │ ├── ms-icon-144x144.png │ │ │ └── safari-pinned-tab.svg │ ├── quasar.conf.js │ └── src │ │ ├── App.vue │ │ ├── assets │ │ ├── quasar-logo-full.svg │ │ └── sad.svg │ │ ├── boot │ │ ├── .gitkeep │ │ ├── amplify.js │ │ ├── axios.js │ │ └── routeGuard.js │ │ ├── chatApi.graphql │ │ ├── components │ │ ├── .gitkeep │ │ ├── AvatarDisplay.vue │ │ ├── AvatarInput.vue │ │ ├── ChatInput.vue │ │ ├── EmailInput.vue │ │ ├── NameInput.vue │ │ ├── NewConversation.vue │ │ ├── PasswordInput.vue │ │ └── UsernameInput.vue │ │ ├── css │ │ ├── app.styl │ │ └── quasar.variables.styl │ │ ├── driver │ │ ├── appsync.js │ │ ├── auth.js │ │ ├── bucket.js │ │ └── graphql.js │ │ ├── graphql │ │ ├── fragments.js │ │ ├── mutations.js │ │ ├── queries.js │ │ ├── schema.json │ │ └── subscriptions.js │ │ ├── index.template.html │ │ ├── layouts │ │ ├── Base.vue │ │ ├── Chat.vue │ │ └── Messages.vue │ │ ├── mixins │ │ └── getAvatar.js │ │ ├── pages │ │ ├── Contacts.vue │ │ ├── Edit.vue │ │ ├── Error404.vue │ │ ├── Index.vue │ │ ├── Messages.vue │ │ ├── SignUp.vue │ │ └── Validate.vue │ │ ├── router │ │ ├── index.js │ │ └── routes.js │ │ └── store │ │ ├── chat │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ ├── state.js │ │ └── types.js │ │ ├── index.js │ │ ├── module-example │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ └── state.js │ │ ├── store-flag.d.ts │ │ └── user │ │ ├── actions.js │ │ ├── getters.js │ │ ├── index.js │ │ ├── mutations.js │ │ ├── state.js │ │ └── types.js └── README.md └── chapter-07 ├── 7_1 ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .graphqlconfig.yml ├── .postcssrc.js ├── .stylintrc ├── .vscode │ ├── extensions.json │ └── settings.json ├── README.md ├── babel.config.js ├── jsconfig.json ├── package-lock.json ├── package.json ├── public │ ├── app-logo-128x128.png │ └── icons │ │ ├── apple-icon-120x120.png │ │ ├── apple-icon-152x152.png │ │ ├── apple-icon-167x167.png │ │ ├── apple-icon-180x180.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon-96x96.png │ │ ├── favicon.ico │ │ ├── icon-128x128.png │ │ ├── icon-192x192.png │ │ ├── icon-256x256.png │ │ ├── icon-384x384.png │ │ ├── icon-512x512.png │ │ ├── ms-icon-144x144.png │ │ └── safari-pinned-tab.svg ├── quasar.conf.js ├── src-pwa │ ├── custom-service-worker.js │ ├── pwa-flag.d.ts │ └── register-service-worker.js └── src │ ├── App.vue │ ├── assets │ ├── quasar-logo-full.svg │ └── sad.svg │ ├── boot │ ├── .gitkeep │ ├── amplify.js │ ├── axios.js │ └── routeGuard.js │ ├── chatApi.graphql │ ├── components │ ├── .gitkeep │ ├── AvatarDisplay.vue │ ├── AvatarInput.vue │ ├── ChatInput.vue │ ├── EmailInput.vue │ ├── NameInput.vue │ ├── NewConversation.vue │ ├── PasswordInput.vue │ └── UsernameInput.vue │ ├── css │ ├── app.styl │ └── quasar.variables.styl │ ├── driver │ ├── appsync.js │ ├── auth.js │ ├── bucket.js │ └── graphql.js │ ├── graphql │ ├── fragments.js │ ├── mutations.js │ ├── queries.js │ ├── schema.json │ └── subscriptions.js │ ├── index.template.html │ ├── layouts │ ├── Base.vue │ ├── Chat.vue │ └── Messages.vue │ ├── mixins │ └── getAvatar.js │ ├── pages │ ├── Contacts.vue │ ├── Edit.vue │ ├── Error404.vue │ ├── Index.vue │ ├── Messages.vue │ ├── SignUp.vue │ └── Validate.vue │ ├── router │ ├── index.js │ └── routes.js │ └── store │ ├── chat │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ ├── state.js │ └── types.js │ ├── index.js │ ├── module-example │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ └── state.js │ ├── store-flag.d.ts │ └── user │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ ├── state.js │ └── types.js ├── 7_2 ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .graphqlconfig.yml ├── .postcssrc.js ├── .stylintrc ├── .vscode │ ├── extensions.json │ └── settings.json ├── README.md ├── babel.config.js ├── jsconfig.json ├── package-lock.json ├── package.json ├── public │ ├── app-logo-128x128.png │ └── icons │ │ ├── apple-icon-120x120.png │ │ ├── apple-icon-152x152.png │ │ ├── apple-icon-167x167.png │ │ ├── apple-icon-180x180.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon-96x96.png │ │ ├── favicon.ico │ │ ├── icon-128x128.png │ │ ├── icon-192x192.png │ │ ├── icon-256x256.png │ │ ├── icon-384x384.png │ │ ├── icon-512x512.png │ │ ├── ms-icon-144x144.png │ │ └── safari-pinned-tab.svg ├── quasar.conf.js ├── src-pwa │ ├── custom-service-worker.js │ ├── pwa-flag.d.ts │ └── register-service-worker.js └── src │ ├── App.vue │ ├── assets │ ├── quasar-logo-full.svg │ └── sad.svg │ ├── boot │ ├── .gitkeep │ ├── amplify.js │ ├── axios.js │ └── routeGuard.js │ ├── chatApi.graphql │ ├── components │ ├── .gitkeep │ ├── AvatarDisplay.vue │ ├── AvatarInput.vue │ ├── ChatInput.vue │ ├── EmailInput.vue │ ├── NameInput.vue │ ├── NewConversation.vue │ ├── PasswordInput.vue │ └── UsernameInput.vue │ ├── css │ ├── app.styl │ └── quasar.variables.styl │ ├── driver │ ├── appsync.js │ ├── auth.js │ ├── bucket.js │ └── graphql.js │ ├── graphql │ ├── fragments.js │ ├── mutations.js │ ├── queries.js │ ├── schema.json │ └── subscriptions.js │ ├── index.template.html │ ├── layouts │ ├── Base.vue │ ├── Chat.vue │ └── Messages.vue │ ├── mixins │ └── getAvatar.js │ ├── pages │ ├── Contacts.vue │ ├── Edit.vue │ ├── Error404.vue │ ├── Index.vue │ ├── Messages.vue │ ├── SignUp.vue │ └── Validate.vue │ ├── router │ ├── index.js │ └── routes.js │ └── store │ ├── chat │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ ├── state.js │ └── types.js │ ├── index.js │ ├── module-example │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ └── state.js │ ├── store-flag.d.ts │ └── user │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ ├── state.js │ └── types.js ├── 7_3 ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .graphqlconfig.yml ├── .postcssrc.js ├── .stylintrc ├── .vscode │ ├── extensions.json │ └── settings.json ├── README.md ├── babel.config.js ├── jsconfig.json ├── package-lock.json ├── package.json ├── public │ ├── app-logo-128x128.png │ └── icons │ │ ├── apple-icon-120x120.png │ │ ├── apple-icon-152x152.png │ │ ├── apple-icon-167x167.png │ │ ├── apple-icon-180x180.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon-96x96.png │ │ ├── favicon.ico │ │ ├── icon-128x128.png │ │ ├── icon-192x192.png │ │ ├── icon-256x256.png │ │ ├── icon-384x384.png │ │ ├── icon-512x512.png │ │ ├── ms-icon-144x144.png │ │ └── safari-pinned-tab.svg ├── quasar.conf.js ├── src-pwa │ ├── custom-service-worker.js │ ├── pwa-flag.d.ts │ └── register-service-worker.js └── src │ ├── App.vue │ ├── assets │ ├── quasar-logo-full.svg │ └── sad.svg │ ├── boot │ ├── .gitkeep │ ├── a2hs.js │ ├── amplify.js │ ├── axios.js │ └── routeGuard.js │ ├── chatApi.graphql │ ├── components │ ├── .gitkeep │ ├── AvatarDisplay.vue │ ├── AvatarInput.vue │ ├── ChatInput.vue │ ├── EmailInput.vue │ ├── NameInput.vue │ ├── NewConversation.vue │ ├── PasswordInput.vue │ └── UsernameInput.vue │ ├── css │ ├── app.styl │ └── quasar.variables.styl │ ├── driver │ ├── appsync.js │ ├── auth.js │ ├── bucket.js │ └── graphql.js │ ├── graphql │ ├── fragments.js │ ├── mutations.js │ ├── queries.js │ ├── schema.json │ └── subscriptions.js │ ├── index.template.html │ ├── layouts │ ├── Base.vue │ ├── Chat.vue │ └── Messages.vue │ ├── mixins │ └── getAvatar.js │ ├── pages │ ├── Contacts.vue │ ├── Edit.vue │ ├── Error404.vue │ ├── Index.vue │ ├── Messages.vue │ ├── SignUp.vue │ └── Validate.vue │ ├── router │ ├── index.js │ └── routes.js │ └── store │ ├── chat │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ ├── state.js │ └── types.js │ ├── index.js │ ├── module-example │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ └── state.js │ ├── store-flag.d.ts │ └── user │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ ├── state.js │ └── types.js ├── 7_4 ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .graphqlconfig.yml ├── .postcssrc.js ├── .stylintrc ├── .vscode │ ├── extensions.json │ └── settings.json ├── README.md ├── babel.config.js ├── jsconfig.json ├── package-lock.json ├── package.json ├── public │ ├── app-logo-128x128.png │ └── icons │ │ ├── apple-icon-120x120.png │ │ ├── apple-icon-152x152.png │ │ ├── apple-icon-167x167.png │ │ ├── apple-icon-180x180.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon-96x96.png │ │ ├── favicon.ico │ │ ├── icon-128x128.png │ │ ├── icon-192x192.png │ │ ├── icon-256x256.png │ │ ├── icon-384x384.png │ │ ├── icon-512x512.png │ │ ├── ms-icon-144x144.png │ │ └── safari-pinned-tab.svg ├── quasar.conf.js ├── src-pwa │ ├── custom-service-worker.js │ ├── pwa-flag.d.ts │ └── register-service-worker.js └── src │ ├── App.vue │ ├── assets │ ├── quasar-logo-full.svg │ └── sad.svg │ ├── boot │ ├── .gitkeep │ ├── a2hs.js │ ├── amplify.js │ ├── axios.js │ └── routeGuard.js │ ├── chatApi.graphql │ ├── components │ ├── .gitkeep │ ├── AvatarDisplay.vue │ ├── AvatarInput.vue │ ├── ChatInput.vue │ ├── EmailInput.vue │ ├── NameInput.vue │ ├── NewConversation.vue │ ├── PasswordInput.vue │ └── UsernameInput.vue │ ├── css │ ├── app.styl │ └── quasar.variables.styl │ ├── driver │ ├── appsync.js │ ├── auth.js │ ├── bucket.js │ └── graphql.js │ ├── graphql │ ├── fragments.js │ ├── mutations.js │ ├── queries.js │ ├── schema.json │ └── subscriptions.js │ ├── index.template.html │ ├── layouts │ ├── Base.vue │ ├── Chat.vue │ └── Messages.vue │ ├── mixins │ └── getAvatar.js │ ├── pages │ ├── Contacts.vue │ ├── Edit.vue │ ├── Error404.vue │ ├── Index.vue │ ├── Messages.vue │ ├── SignUp.vue │ └── Validate.vue │ ├── router │ ├── index.js │ └── routes.js │ └── store │ ├── chat │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ ├── state.js │ └── types.js │ ├── index.js │ ├── module-example │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ └── state.js │ ├── store-flag.d.ts │ └── user │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ ├── state.js │ └── types.js ├── 7_5 ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .graphqlconfig.yml ├── .postcssrc.js ├── .stylintrc ├── .vscode │ ├── extensions.json │ └── settings.json ├── README.md ├── babel.config.js ├── jsconfig.json ├── package-lock.json ├── package.json ├── public │ ├── app-logo-128x128.png │ └── icons │ │ ├── apple-icon-120x120.png │ │ ├── apple-icon-152x152.png │ │ ├── apple-icon-167x167.png │ │ ├── apple-icon-180x180.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon-96x96.png │ │ ├── favicon.ico │ │ ├── icon-128x128.png │ │ ├── icon-192x192.png │ │ ├── icon-256x256.png │ │ ├── icon-384x384.png │ │ ├── icon-512x512.png │ │ ├── ms-icon-144x144.png │ │ └── safari-pinned-tab.svg ├── quasar.conf.js ├── src-pwa │ ├── custom-service-worker.js │ ├── pwa-flag.d.ts │ └── register-service-worker.js └── src │ ├── App.vue │ ├── assets │ ├── quasar-logo-full.svg │ └── sad.svg │ ├── boot │ ├── .gitkeep │ ├── a2hs.js │ ├── amplify.js │ ├── axios.js │ └── routeGuard.js │ ├── chatApi.graphql │ ├── components │ ├── .gitkeep │ ├── AvatarDisplay.vue │ ├── AvatarInput.vue │ ├── ChatInput.vue │ ├── EmailInput.vue │ ├── NameInput.vue │ ├── NewConversation.vue │ ├── PasswordInput.vue │ └── UsernameInput.vue │ ├── css │ ├── app.styl │ └── quasar.variables.styl │ ├── driver │ ├── appsync.js │ ├── auth.js │ ├── bucket.js │ └── graphql.js │ ├── graphql │ ├── fragments.js │ ├── mutations.js │ ├── queries.js │ ├── schema.json │ └── subscriptions.js │ ├── index.template.html │ ├── layouts │ ├── Base.vue │ ├── Chat.vue │ └── Messages.vue │ ├── mixins │ └── getAvatar.js │ ├── pages │ ├── Contacts.vue │ ├── Edit.vue │ ├── Error404.vue │ ├── Index.vue │ ├── Messages.vue │ ├── SignUp.vue │ └── Validate.vue │ ├── router │ ├── index.js │ └── routes.js │ └── store │ ├── chat │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ ├── state.js │ └── types.js │ ├── index.js │ ├── module-example │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ └── state.js │ ├── store-flag.d.ts │ └── user │ ├── actions.js │ ├── getters.js │ ├── index.js │ ├── mutations.js │ ├── state.js │ └── types.js └── README.md /chapter-01/1_1/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-01/1_1/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-01/1_1/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-01/1_1/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_1/public/favicon.ico -------------------------------------------------------------------------------- /chapter-01/1_1/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_1/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-01/1_1/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import './style.css'; 3 | import App from './App.vue'; 4 | 5 | createApp(App).mount('#app'); 6 | -------------------------------------------------------------------------------- /chapter-01/1_10/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-01/1_10/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-01/1_10/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-01/1_10/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_10/public/favicon.ico -------------------------------------------------------------------------------- /chapter-01/1_10/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_10/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-01/1_10/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /chapter-01/1_2/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-01/1_2/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-01/1_2/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-01/1_2/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_2/public/favicon.ico -------------------------------------------------------------------------------- /chapter-01/1_2/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_2/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-01/1_2/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /chapter-01/1_3/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-01/1_3/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-01/1_3/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-01/1_3/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_3/public/favicon.ico -------------------------------------------------------------------------------- /chapter-01/1_3/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_3/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-01/1_3/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /chapter-01/1_4/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-01/1_4/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-01/1_4/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-01/1_4/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_4/public/favicon.ico -------------------------------------------------------------------------------- /chapter-01/1_4/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_4/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-01/1_4/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /chapter-01/1_5/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-01/1_5/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-01/1_5/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-01/1_5/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_5/public/favicon.ico -------------------------------------------------------------------------------- /chapter-01/1_5/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_5/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-01/1_5/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /chapter-01/1_6/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-01/1_6/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-01/1_6/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-01/1_6/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_6/public/favicon.ico -------------------------------------------------------------------------------- /chapter-01/1_6/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_6/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-01/1_6/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /chapter-01/1_7/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-01/1_7/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-01/1_7/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-01/1_7/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_7/public/favicon.ico -------------------------------------------------------------------------------- /chapter-01/1_7/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_7/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-01/1_7/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /chapter-01/1_8/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-01/1_8/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-01/1_8/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-01/1_8/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_8/public/favicon.ico -------------------------------------------------------------------------------- /chapter-01/1_8/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_8/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-01/1_8/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /chapter-01/1_9/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-01/1_9/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-01/1_9/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-01/1_9/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_9/public/favicon.ico -------------------------------------------------------------------------------- /chapter-01/1_9/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-01/1_9/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-01/1_9/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /chapter-02/2_1/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-02/2_1/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-02/2_1/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_1/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {}, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_1/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_1/public/favicon.ico -------------------------------------------------------------------------------- /chapter-02/2_1/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_1/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-02/2_1/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /chapter-02/2_2/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-02/2_2/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-02/2_2/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_2/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {}, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_2/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_2/public/favicon.ico -------------------------------------------------------------------------------- /chapter-02/2_2/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_2/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-02/2_2/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /chapter-02/2_3/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-02/2_3/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-02/2_3/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_3/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {}, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_3/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_3/public/favicon.ico -------------------------------------------------------------------------------- /chapter-02/2_3/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_3/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-02/2_3/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /chapter-02/2_4/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-02/2_4/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-02/2_4/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_4/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {}, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_4/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_4/public/favicon.ico -------------------------------------------------------------------------------- /chapter-02/2_4/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_4/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-02/2_4/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | 4 | createApp(App).mount('#app'); 5 | -------------------------------------------------------------------------------- /chapter-02/2_5/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-02/2_5/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-02/2_5/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_5/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {}, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_5/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_5/public/favicon.ico -------------------------------------------------------------------------------- /chapter-02/2_5/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_5/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-02/2_5/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | import './style/materialIcons.css'; 4 | 5 | createApp(App).mount('#app'); 6 | -------------------------------------------------------------------------------- /chapter-02/2_6/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-02/2_6/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-02/2_6/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_6/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {}, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_6/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_6/public/favicon.ico -------------------------------------------------------------------------------- /chapter-02/2_6/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_6/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-02/2_6/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | import './style/materialIcons.css'; 4 | 5 | createApp(App).mount('#app'); 6 | -------------------------------------------------------------------------------- /chapter-02/2_7/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-02/2_7/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-02/2_7/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_7/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {}, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_7/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_7/public/favicon.ico -------------------------------------------------------------------------------- /chapter-02/2_7/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_7/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-02/2_7/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | import './style/materialIcons.css'; 4 | 5 | createApp(App).mount('#app'); 6 | -------------------------------------------------------------------------------- /chapter-02/2_8/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-02/2_8/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-02/2_8/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_8/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {}, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_8/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_8/public/favicon.ico -------------------------------------------------------------------------------- /chapter-02/2_8/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_8/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-02/2_8/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | import './style/materialIcons.css'; 4 | 5 | createApp(App).mount('#app'); 6 | -------------------------------------------------------------------------------- /chapter-02/2_8/src/mixins/starRatingChild.js: -------------------------------------------------------------------------------- 1 | export default { 2 | inject: { 3 | starRating: { 4 | default() { 5 | console.error('StarRatingDisplay need to be a child of StartRating'); 6 | }, 7 | }, 8 | }, 9 | }; 10 | -------------------------------------------------------------------------------- /chapter-02/2_9/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /chapter-02/2_9/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.{js,jsx,ts,tsx,vue}] 2 | indent_style = space 3 | indent_size = 2 4 | end_of_line = lf 5 | trim_trailing_whitespace = true 6 | insert_final_newline = true 7 | max_line_length = 100 8 | -------------------------------------------------------------------------------- /chapter-02/2_9/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset', 4 | ], 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_9/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | autoprefixer: {}, 4 | }, 5 | }; 6 | -------------------------------------------------------------------------------- /chapter-02/2_9/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_9/public/favicon.ico -------------------------------------------------------------------------------- /chapter-02/2_9/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-02/2_9/src/assets/logo.png -------------------------------------------------------------------------------- /chapter-02/2_9/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue'; 2 | import App from './App.vue'; 3 | import './style/materialIcons.css'; 4 | 5 | createApp(App).mount('#app'); 6 | -------------------------------------------------------------------------------- /chapter-02/2_9/src/mixins/starRatingChild.js: -------------------------------------------------------------------------------- 1 | export default { 2 | inject: { 3 | starRating: { 4 | default() { 5 | console.error('StarRatingDisplay need to be a child of StartRating'); 6 | }, 7 | }, 8 | }, 9 | }; 10 | -------------------------------------------------------------------------------- /chapter-03/3_1/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-03/3_1/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-03/3_1/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-03/3_1/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-03/3_1/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-03/3_1/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-03/3_1/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-03/3_1/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-03/3_1/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-03/3_1/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_1/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-03/3_1/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-03/3_1/src/pages/Index.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-03/3_1/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-03/3_1/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-03/3_1/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-03/3_1/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-03/3_2/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-03/3_2/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-03/3_2/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-03/3_2/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-03/3_2/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-03/3_2/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-03/3_2/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-03/3_2/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-03/3_2/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-03/3_2/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-03/3_2/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_2/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-03/3_2/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-03/3_2/src/pages/Index.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-03/3_2/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-03/3_2/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-03/3_2/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-03/3_2/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-03/3_3/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-03/3_3/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-03/3_3/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-03/3_3/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-03/3_3/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-03/3_3/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-03/3_3/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-03/3_3/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-03/3_3/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-03/3_3/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-03/3_3/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-03/3_3/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_3/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-03/3_3/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-03/3_3/src/pages/Index.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-03/3_3/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-03/3_3/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-03/3_3/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-03/3_3/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-03/3_4/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-03/3_4/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-03/3_4/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-03/3_4/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-03/3_4/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-03/3_4/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-03/3_4/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-03/3_4/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-03/3_4/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-03/3_4/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-03/3_4/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-03/3_4/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-03/3_4/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-03/3_4/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-03/3_4/src/pages/Index.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-03/3_4/src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import Vuex from 'vuex'; 3 | 4 | Vue.use(Vuex); 5 | 6 | export default (/* { ssrContext } */) => { 7 | const Store = new Vuex.Store({ 8 | strict: process.env.DEV, 9 | }); 10 | 11 | return Store; 12 | }; 13 | -------------------------------------------------------------------------------- /chapter-03/3_4/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-03/3_4/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-03/3_4/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-03/3_4/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-04/4_1/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-04/4_1/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-04/4_1/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-04/4_1/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-04/4_1/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-04/4_1/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-04/4_1/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-04/4_1/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-04/4_1/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-04/4_1/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-04/4_1/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-04/4_1/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_1/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-04/4_1/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-04/4_1/src/pages/Index.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-04/4_1/src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import Vuex from 'vuex'; 3 | 4 | Vue.use(Vuex); 5 | 6 | export default (/* { ssrContext } */) => { 7 | const Store = new Vuex.Store({ 8 | strict: process.env.DEV, 9 | }); 10 | 11 | return Store; 12 | }; 13 | -------------------------------------------------------------------------------- /chapter-04/4_1/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-04/4_1/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-04/4_1/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-04/4_1/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-04/4_2/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-04/4_2/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-04/4_2/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-04/4_2/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-04/4_2/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-04/4_2/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-04/4_2/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-04/4_2/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-04/4_2/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-04/4_2/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-04/4_2/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-04/4_2/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-04/4_2/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-04/4_2/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-04/4_2/src/pages/Index.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-04/4_2/src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import Vuex from 'vuex'; 3 | 4 | Vue.use(Vuex); 5 | 6 | export default (/* { ssrContext } */) => { 7 | const Store = new Vuex.Store({ 8 | strict: process.env.DEV, 9 | }); 10 | 11 | return Store; 12 | }; 13 | -------------------------------------------------------------------------------- /chapter-04/4_2/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-04/4_2/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-04/4_2/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-04/4_2/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-04/4_2/src/store/user/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | CREATE_USER: 'CREATE_USER', 3 | SET_USER_DATA: 'SET_USER_DATA', 4 | CLEAR_USER: 'CLEAR_USER', 5 | USER_VALIDATED: 'USER_VALIDATED', 6 | LOADING: 'LOADING', 7 | ERROR: 'ERROR', 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-04/README.md: -------------------------------------------------------------------------------- 1 | ### Chapter 4 2 | # Creating Custom Application Components and Layouts 3 | 4 | - [Creating custom inputs for the application](./4_1/) 5 | - [Creating the application layouts](./4_2/) 6 | -------------------------------------------------------------------------------- /chapter-05/5_1/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-05/5_1/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-05/5_1/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-05/5_1/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-05/5_1/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-05/5_1/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-05/5_1/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-05/5_1/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-05/5_1/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-05/5_1/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-05/5_1/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-05/5_1/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-05/5_1/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-05/5_1/src/layouts/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/src/layouts/.gitkeep -------------------------------------------------------------------------------- /chapter-05/5_1/src/pages/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_1/src/pages/.gitkeep -------------------------------------------------------------------------------- /chapter-05/5_1/src/pages/Index.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-05/5_1/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-05/5_1/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-05/5_1/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-05/5_1/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-05/5_1/src/store/user/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | CREATE_USER: 'CREATE_USER', 3 | SET_USER_DATA: 'SET_USER_DATA', 4 | CLEAR_USER: 'CLEAR_USER', 5 | USER_VALIDATED: 'USER_VALIDATED', 6 | LOADING: 'LOADING', 7 | ERROR: 'ERROR', 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-05/5_2/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-05/5_2/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-05/5_2/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-05/5_2/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-05/5_2/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-05/5_2/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-05/5_2/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-05/5_2/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-05/5_2/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-05/5_2/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-05/5_2/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-05/5_2/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-05/5_2/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-05/5_2/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-05/5_2/src/pages/Contacts.vue: -------------------------------------------------------------------------------- 1 | 4 | 9 | -------------------------------------------------------------------------------- /chapter-05/5_2/src/pages/Messages.vue: -------------------------------------------------------------------------------- 1 | 4 | 9 | -------------------------------------------------------------------------------- /chapter-05/5_2/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-05/5_2/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-05/5_2/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-05/5_2/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-05/5_2/src/store/user/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | CREATE_USER: 'CREATE_USER', 3 | SET_USER_DATA: 'SET_USER_DATA', 4 | CLEAR_USER: 'CLEAR_USER', 5 | USER_VALIDATED: 'USER_VALIDATED', 6 | LOADING: 'LOADING', 7 | ERROR: 'ERROR', 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-05/README.md: -------------------------------------------------------------------------------- 1 | ### Chapter 5 2 | # Creating User Vuex, Pages, and Routes 3 | 4 | - [Creating the User Vuex module on your application](./5_1/) 5 | - [Creating User pages and routes for your application](./5_2/) 6 | -------------------------------------------------------------------------------- /chapter-06/6_1/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-06/6_1/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-06/6_1/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-06/6_1/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-06/6_1/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-06/6_1/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-06/6_1/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-06/6_1/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-06/6_1/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-06/6_1/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-06/6_1/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-06/6_1/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_1/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-06/6_1/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-06/6_1/src/pages/Contacts.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-06/6_1/src/pages/Messages.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-06/6_1/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-06/6_1/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-06/6_1/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-06/6_1/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-06/6_1/src/store/user/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | CREATE_USER: 'CREATE_USER', 3 | SET_USER_DATA: 'SET_USER_DATA', 4 | CLEAR_USER: 'CLEAR_USER', 5 | USER_VALIDATED: 'USER_VALIDATED', 6 | LOADING: 'LOADING', 7 | ERROR: 'ERROR', 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-06/6_2/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-06/6_2/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-06/6_2/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-06/6_2/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-06/6_2/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-06/6_2/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-06/6_2/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-06/6_2/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-06/6_2/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-06/6_2/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-06/6_2/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-06/6_2/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_2/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-06/6_2/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-06/6_2/src/pages/Contacts.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-06/6_2/src/pages/Messages.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-06/6_2/src/store/chat/state.js: -------------------------------------------------------------------------------- 1 | export function createState() { 2 | return { 3 | conversations: [], 4 | messages: [], 5 | loading: false, 6 | error: undefined, 7 | }; 8 | } 9 | 10 | export default createState(); 11 | -------------------------------------------------------------------------------- /chapter-06/6_2/src/store/chat/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | SET_CONVERSATIONS: 'SET_CONVERSATIONS', 3 | SET_MESSAGES: 'SET_MESSAGES', 4 | LOADING: 'LOADING', 5 | ERROR: 'ERROR', 6 | }; 7 | -------------------------------------------------------------------------------- /chapter-06/6_2/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-06/6_2/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-06/6_2/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-06/6_2/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-06/6_2/src/store/user/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | CREATE_USER: 'CREATE_USER', 3 | SET_USER_DATA: 'SET_USER_DATA', 4 | CLEAR_USER: 'CLEAR_USER', 5 | USER_VALIDATED: 'USER_VALIDATED', 6 | LOADING: 'LOADING', 7 | ERROR: 'ERROR', 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-06/6_3/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-06/6_3/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-06/6_3/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-06/6_3/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-06/6_3/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-06/6_3/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-06/6_3/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-06/6_3/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-06/6_3/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-06/6_3/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-06/6_3/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-06/6_3/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_3/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-06/6_3/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-06/6_3/src/pages/Messages.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-06/6_3/src/store/chat/state.js: -------------------------------------------------------------------------------- 1 | export function createState() { 2 | return { 3 | conversations: [], 4 | messages: [], 5 | loading: false, 6 | error: undefined, 7 | }; 8 | } 9 | 10 | export default createState(); 11 | -------------------------------------------------------------------------------- /chapter-06/6_3/src/store/chat/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | SET_CONVERSATIONS: 'SET_CONVERSATIONS', 3 | SET_MESSAGES: 'SET_MESSAGES', 4 | LOADING: 'LOADING', 5 | ERROR: 'ERROR', 6 | }; 7 | -------------------------------------------------------------------------------- /chapter-06/6_3/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-06/6_3/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-06/6_3/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-06/6_3/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-06/6_3/src/store/user/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | CREATE_USER: 'CREATE_USER', 3 | SET_USER_DATA: 'SET_USER_DATA', 4 | CLEAR_USER: 'CLEAR_USER', 5 | USER_VALIDATED: 'USER_VALIDATED', 6 | LOADING: 'LOADING', 7 | ERROR: 'ERROR', 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-06/6_4/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-06/6_4/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-06/6_4/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-06/6_4/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-06/6_4/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-06/6_4/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-06/6_4/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-06/6_4/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-06/6_4/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-06/6_4/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-06/6_4/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-06/6_4/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-06/6_4/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-06/6_4/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-06/6_4/src/store/chat/state.js: -------------------------------------------------------------------------------- 1 | export function createState() { 2 | return { 3 | conversations: [], 4 | messages: [], 5 | loading: false, 6 | error: undefined, 7 | }; 8 | } 9 | 10 | export default createState(); 11 | -------------------------------------------------------------------------------- /chapter-06/6_4/src/store/chat/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | SET_CONVERSATIONS: 'SET_CONVERSATIONS', 3 | SET_MESSAGES: 'SET_MESSAGES', 4 | LOADING: 'LOADING', 5 | ERROR: 'ERROR', 6 | }; 7 | -------------------------------------------------------------------------------- /chapter-06/6_4/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-06/6_4/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-06/6_4/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-06/6_4/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-06/6_4/src/store/user/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | CREATE_USER: 'CREATE_USER', 3 | SET_USER_DATA: 'SET_USER_DATA', 4 | CLEAR_USER: 'CLEAR_USER', 5 | USER_VALIDATED: 'USER_VALIDATED', 6 | LOADING: 'LOADING', 7 | ERROR: 'ERROR', 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-07/7_1/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-07/7_1/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-07/7_1/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-07/7_1/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-07/7_1/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-07/7_1/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-07/7_1/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-07/7_1/src-pwa/custom-service-worker.js: -------------------------------------------------------------------------------- 1 | /* 2 | * This file (which will be your service worker) 3 | * is picked up by the build system ONLY if 4 | * quasar.conf > pwa > workboxPluginMode is set to "InjectManifest" 5 | */ 6 | -------------------------------------------------------------------------------- /chapter-07/7_1/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-07/7_1/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-07/7_1/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-07/7_1/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-07/7_1/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_1/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-07/7_1/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-07/7_1/src/store/chat/state.js: -------------------------------------------------------------------------------- 1 | export function createState() { 2 | return { 3 | conversations: [], 4 | messages: [], 5 | loading: false, 6 | error: undefined, 7 | }; 8 | } 9 | 10 | export default createState(); 11 | -------------------------------------------------------------------------------- /chapter-07/7_1/src/store/chat/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | SET_CONVERSATIONS: 'SET_CONVERSATIONS', 3 | SET_MESSAGES: 'SET_MESSAGES', 4 | LOADING: 'LOADING', 5 | ERROR: 'ERROR', 6 | }; 7 | -------------------------------------------------------------------------------- /chapter-07/7_1/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_1/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_1/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_1/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-07/7_1/src/store/user/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | CREATE_USER: 'CREATE_USER', 3 | SET_USER_DATA: 'SET_USER_DATA', 4 | CLEAR_USER: 'CLEAR_USER', 5 | USER_VALIDATED: 'USER_VALIDATED', 6 | LOADING: 'LOADING', 7 | ERROR: 'ERROR', 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-07/7_2/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-07/7_2/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-07/7_2/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-07/7_2/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-07/7_2/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-07/7_2/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-07/7_2/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-07/7_2/src-pwa/custom-service-worker.js: -------------------------------------------------------------------------------- 1 | /* 2 | * This file (which will be your service worker) 3 | * is picked up by the build system ONLY if 4 | * quasar.conf > pwa > workboxPluginMode is set to "InjectManifest" 5 | */ 6 | -------------------------------------------------------------------------------- /chapter-07/7_2/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-07/7_2/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-07/7_2/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-07/7_2/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-07/7_2/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_2/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-07/7_2/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-07/7_2/src/store/chat/state.js: -------------------------------------------------------------------------------- 1 | export function createState() { 2 | return { 3 | conversations: [], 4 | messages: [], 5 | loading: false, 6 | error: undefined, 7 | }; 8 | } 9 | 10 | export default createState(); 11 | -------------------------------------------------------------------------------- /chapter-07/7_2/src/store/chat/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | SET_CONVERSATIONS: 'SET_CONVERSATIONS', 3 | SET_MESSAGES: 'SET_MESSAGES', 4 | LOADING: 'LOADING', 5 | ERROR: 'ERROR', 6 | }; 7 | -------------------------------------------------------------------------------- /chapter-07/7_2/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_2/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_2/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_2/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-07/7_2/src/store/user/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | CREATE_USER: 'CREATE_USER', 3 | SET_USER_DATA: 'SET_USER_DATA', 4 | CLEAR_USER: 'CLEAR_USER', 5 | USER_VALIDATED: 'USER_VALIDATED', 6 | LOADING: 'LOADING', 7 | ERROR: 'ERROR', 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-07/7_3/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-07/7_3/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-07/7_3/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-07/7_3/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-07/7_3/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-07/7_3/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-07/7_3/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-07/7_3/src-pwa/custom-service-worker.js: -------------------------------------------------------------------------------- 1 | /* 2 | * This file (which will be your service worker) 3 | * is picked up by the build system ONLY if 4 | * quasar.conf > pwa > workboxPluginMode is set to "InjectManifest" 5 | */ 6 | -------------------------------------------------------------------------------- /chapter-07/7_3/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-07/7_3/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-07/7_3/src/boot/a2hs.js: -------------------------------------------------------------------------------- 1 | import AddToHomeScreen from 'a2hs.js'; 2 | 3 | export default () => { 4 | const options = { 5 | brandName: 'Chat App', 6 | }; 7 | AddToHomeScreen(options); 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-07/7_3/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-07/7_3/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-07/7_3/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_3/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-07/7_3/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-07/7_3/src/store/chat/state.js: -------------------------------------------------------------------------------- 1 | export function createState() { 2 | return { 3 | conversations: [], 4 | messages: [], 5 | loading: false, 6 | error: undefined, 7 | }; 8 | } 9 | 10 | export default createState(); 11 | -------------------------------------------------------------------------------- /chapter-07/7_3/src/store/chat/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | SET_CONVERSATIONS: 'SET_CONVERSATIONS', 3 | SET_MESSAGES: 'SET_MESSAGES', 4 | LOADING: 'LOADING', 5 | ERROR: 'ERROR', 6 | }; 7 | -------------------------------------------------------------------------------- /chapter-07/7_3/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_3/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_3/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_3/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-07/7_3/src/store/user/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | CREATE_USER: 'CREATE_USER', 3 | SET_USER_DATA: 'SET_USER_DATA', 4 | CLEAR_USER: 'CLEAR_USER', 5 | USER_VALIDATED: 'USER_VALIDATED', 6 | LOADING: 'LOADING', 7 | ERROR: 'ERROR', 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-07/7_4/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-07/7_4/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-07/7_4/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-07/7_4/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "vetur.validation.template": false, 3 | "vetur.format.enable": false, 4 | "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"], 5 | 6 | "vetur.experimental.templateInterpolationService": true 7 | } 8 | -------------------------------------------------------------------------------- /chapter-07/7_4/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-07/7_4/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-07/7_4/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-07/7_4/src-pwa/custom-service-worker.js: -------------------------------------------------------------------------------- 1 | /* 2 | * This file (which will be your service worker) 3 | * is picked up by the build system ONLY if 4 | * quasar.conf > pwa > workboxPluginMode is set to "InjectManifest" 5 | */ 6 | -------------------------------------------------------------------------------- /chapter-07/7_4/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-07/7_4/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-07/7_4/src/boot/a2hs.js: -------------------------------------------------------------------------------- 1 | import AddToHomeScreen from 'a2hs.js'; 2 | 3 | export default () => { 4 | const options = { 5 | brandName: 'Chat App', 6 | }; 7 | AddToHomeScreen(options); 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-07/7_4/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-07/7_4/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-07/7_4/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_4/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-07/7_4/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-07/7_4/src/store/chat/state.js: -------------------------------------------------------------------------------- 1 | export function createState() { 2 | return { 3 | conversations: [], 4 | messages: [], 5 | loading: false, 6 | error: undefined, 7 | }; 8 | } 9 | 10 | export default createState(); 11 | -------------------------------------------------------------------------------- /chapter-07/7_4/src/store/chat/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | SET_CONVERSATIONS: 'SET_CONVERSATIONS', 3 | SET_MESSAGES: 'SET_MESSAGES', 4 | LOADING: 'LOADING', 5 | ERROR: 'ERROR', 6 | }; 7 | -------------------------------------------------------------------------------- /chapter-07/7_4/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_4/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_4/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_4/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-07/7_4/src/store/user/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | CREATE_USER: 'CREATE_USER', 3 | SET_USER_DATA: 'SET_USER_DATA', 4 | CLEAR_USER: 'CLEAR_USER', 5 | USER_VALIDATED: 'USER_VALIDATED', 6 | LOADING: 'LOADING', 7 | ERROR: 'ERROR', 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-07/7_5/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /chapter-07/7_5/.eslintignore: -------------------------------------------------------------------------------- 1 | /dist 2 | /src-bex/www 3 | /src-capacitor 4 | /src-cordova 5 | /.quasar 6 | /node_modules 7 | -------------------------------------------------------------------------------- /chapter-07/7_5/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | plugins: [ 5 | // to edit target browsers: use "browserslist" field in package.json 6 | require('autoprefixer') 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /chapter-07/7_5/babel.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = { 3 | presets: [ 4 | '@quasar/babel-preset-app' 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /chapter-07/7_5/public/app-logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/app-logo-128x128.png -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/apple-icon-167x167.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/apple-icon-167x167.png -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/favicon-16x16.png -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/favicon-32x32.png -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/favicon-96x96.png -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/favicon.ico -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/icon-128x128.png -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/icon-192x192.png -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/icon-256x256.png -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/icon-384x384.png -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/icon-512x512.png -------------------------------------------------------------------------------- /chapter-07/7_5/public/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/public/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /chapter-07/7_5/src-pwa/custom-service-worker.js: -------------------------------------------------------------------------------- 1 | /* 2 | * This file (which will be your service worker) 3 | * is picked up by the build system ONLY if 4 | * quasar.conf > pwa > workboxPluginMode is set to "InjectManifest" 5 | */ 6 | -------------------------------------------------------------------------------- /chapter-07/7_5/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | -------------------------------------------------------------------------------- /chapter-07/7_5/src/boot/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/src/boot/.gitkeep -------------------------------------------------------------------------------- /chapter-07/7_5/src/boot/a2hs.js: -------------------------------------------------------------------------------- 1 | import AddToHomeScreen from 'a2hs.js'; 2 | 3 | export default () => { 4 | const options = { 5 | brandName: 'Chat App', 6 | }; 7 | AddToHomeScreen(options); 8 | }; 9 | -------------------------------------------------------------------------------- /chapter-07/7_5/src/boot/amplify.js: -------------------------------------------------------------------------------- 1 | import Amplify from 'aws-amplify'; 2 | 3 | import AwsExports from '../aws-exports'; 4 | 5 | Amplify.configure(AwsExports); 6 | 7 | export default () => {}; 8 | -------------------------------------------------------------------------------- /chapter-07/7_5/src/boot/axios.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import axios from 'axios'; 3 | 4 | Vue.prototype.$axios = axios; 5 | -------------------------------------------------------------------------------- /chapter-07/7_5/src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Building-Vue.js-Applications-with-GraphQL/c0a3c29bae1847bef63c3f1b5f9b625d02ccc5ae/chapter-07/7_5/src/components/.gitkeep -------------------------------------------------------------------------------- /chapter-07/7_5/src/css/app.styl: -------------------------------------------------------------------------------- 1 | // app global css in Stylus form 2 | -------------------------------------------------------------------------------- /chapter-07/7_5/src/store/chat/state.js: -------------------------------------------------------------------------------- 1 | export function createState() { 2 | return { 3 | conversations: [], 4 | messages: [], 5 | loading: false, 6 | error: undefined, 7 | }; 8 | } 9 | 10 | export default createState(); 11 | -------------------------------------------------------------------------------- /chapter-07/7_5/src/store/chat/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | SET_CONVERSATIONS: 'SET_CONVERSATIONS', 3 | SET_MESSAGES: 'SET_MESSAGES', 4 | LOADING: 'LOADING', 5 | ERROR: 'ERROR', 6 | }; 7 | -------------------------------------------------------------------------------- /chapter-07/7_5/src/store/module-example/actions.js: -------------------------------------------------------------------------------- 1 | export function someAction(/* context */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_5/src/store/module-example/getters.js: -------------------------------------------------------------------------------- 1 | export function someGetter(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_5/src/store/module-example/mutations.js: -------------------------------------------------------------------------------- 1 | export function someMutation(/* state */) { 2 | } 3 | -------------------------------------------------------------------------------- /chapter-07/7_5/src/store/module-example/state.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | return { 3 | // 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /chapter-07/7_5/src/store/user/types.js: -------------------------------------------------------------------------------- 1 | export default { 2 | CREATE_USER: 'CREATE_USER', 3 | SET_USER_DATA: 'SET_USER_DATA', 4 | CLEAR_USER: 'CLEAR_USER', 5 | USER_VALIDATED: 'USER_VALIDATED', 6 | LOADING: 'LOADING', 7 | ERROR: 'ERROR', 8 | }; 9 | --------------------------------------------------------------------------------