From 23b5cc80ba02936659564dd03b173d3214ce5978 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Tue, 13 Sep 2022 19:59:06 +1000 Subject: Use Vue Composition API and ESLint --- src/components/TutorialPane.vue | 193 +++++++++++++++++++--------------------- 1 file changed, 90 insertions(+), 103 deletions(-) (limited to 'src/components/TutorialPane.vue') diff --git a/src/components/TutorialPane.vue b/src/components/TutorialPane.vue index 2803498..4c24bae 100644 --- a/src/components/TutorialPane.vue +++ b/src/components/TutorialPane.vue @@ -2,7 +2,7 @@

- {{stage == 0 ? 'Welcome' : `Tutorial (Step ${stage} of ${lastStage})`}} + {{stage == 0 ? 'Welcome' : `Tutorial (Step ${stage} of ${LAST_STAGE})`}}

@@ -58,119 +58,106 @@ Prev - {{stage != lastStage ? 'Next' : 'Finish'}} + @click="stage != LAST_STAGE ? onNextClick() : onClose()" :style="buttonStyles"> + {{stage != LAST_STAGE ? 'Next' : 'Finish'}}
- -- cgit v1.2.3