From ea40ebcf961308f1b820d92a11125819a404eed3 Mon Sep 17 00:00:00 2001 From: Guillaume Klaus Date: Wed, 2 Oct 2019 13:36:26 +0200 Subject: [PATCH 1/2] Add simple animation --- src/components/Cell.vue | 27 ++++++++++++++++++++------- src/components/PlayBoard.vue | 3 +++ 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/src/components/Cell.vue b/src/components/Cell.vue index 0a2f558..6ccc063 100644 --- a/src/components/Cell.vue +++ b/src/components/Cell.vue @@ -1,5 +1,7 @@ diff --git a/src/components/PlayBoard.vue b/src/components/PlayBoard.vue index 4501817..bf7ebfd 100644 --- a/src/components/PlayBoard.vue +++ b/src/components/PlayBoard.vue @@ -117,6 +117,9 @@ export default { } height: 3vw; width: 3vw; + position: relative; + perspective: 800px; + cursor: pointer; } .legend { height: 3vw; From b7f9a017254a4e5633bf2089ad5808d86ce4effe Mon Sep 17 00:00:00 2001 From: Guillaume Klaus Date: Wed, 2 Oct 2019 13:36:36 +0200 Subject: [PATCH 2/2] Fix linter issues --- .eslintrc.js | 6 +++--- babel.config.js | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index e256083..8f75feb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -12,14 +12,14 @@ module.exports = { "prettier", "eslint:recommended", "plugin:vue/recommended", - 'plugin:prettier/recommended', - 'prettier/vue' + "plugin:prettier/recommended", + "prettier/vue" ], plugins: ["prettier"], rules: { "no-console": process.env.NODE_ENV === "production" ? "error" : "off", "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", "prettier/prettier": "error", - "no-unused-vars": process.env.NODE_ENV === "production" ? "error" : "off", + "no-unused-vars": process.env.NODE_ENV === "production" ? "error" : "off" } }; diff --git a/babel.config.js b/babel.config.js index ba17966..3ecebf1 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,5 +1,3 @@ module.exports = { - presets: [ - '@vue/app' - ] -} + presets: ["@vue/app"] +};