From 4c18320da19cbe8dbe5f98a9db25e57d22d58219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Fri, 17 Aug 2018 08:29:58 +0200 Subject: [PATCH] example: Update example to make it easier to understand --- examples/auth-jwt/package.json | 2 +- examples/auth-jwt/pages/index.vue | 26 ++++++++++++++++++++++++++ examples/auth-jwt/pages/login.vue | 7 ++++--- examples/auth-jwt/pages/secret.vue | 5 ++++- examples/auth-jwt/store/index.js | 14 +++++++++----- 5 files changed, 44 insertions(+), 10 deletions(-) create mode 100644 examples/auth-jwt/pages/index.vue diff --git a/examples/auth-jwt/package.json b/examples/auth-jwt/package.json index f1b96ac390..bd883642e0 100644 --- a/examples/auth-jwt/package.json +++ b/examples/auth-jwt/package.json @@ -10,4 +10,4 @@ "build": "nuxt build", "start": "nuxt start" } -} \ No newline at end of file +} diff --git a/examples/auth-jwt/pages/index.vue b/examples/auth-jwt/pages/index.vue new file mode 100644 index 0000000000..0a316c44b6 --- /dev/null +++ b/examples/auth-jwt/pages/index.vue @@ -0,0 +1,26 @@ + + + diff --git a/examples/auth-jwt/pages/login.vue b/examples/auth-jwt/pages/login.vue index d3956f597d..a4c40e4e8a 100644 --- a/examples/auth-jwt/pages/login.vue +++ b/examples/auth-jwt/pages/login.vue @@ -1,6 +1,6 @@