File tree Expand file tree Collapse file tree 2 files changed +17
-17
lines changed
components/xiao/playground/components
tutorial/getting-started/plugin Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 11<template >
22 <div
3- class =" relative w-full h-full border-gray-200 dark:border-gray-700 rounded-2xl bg-white dark:bg-gray-900"
4- :class =" { border: store.tab.aside !== null }"
3+ class =" absolute top-0 z-30 flex justify-center items-end w-full h-full pointer-events-none overflow-hidden"
4+ v-if =" showParticle"
5+ :class =" { 'opacity-0': store.tab.aside !== 'task' }"
56 >
67 <div
7- class =" absolute flex justify-center items-end w-full h-full top-0 z-30 pointer-events-none"
8- v-if =" showParticle"
9- :class =" { 'opacity-0': store.tab.aside !== 'task' }"
10- >
11- <div
12- v-confetti =" {
13- particleCount: 100,
14- force: 1.5,
15- duration: 4500
16- }"
17- />
18- </div >
8+ v-confetti =" {
9+ particleCount: 175,
10+ force: 1.75,
11+ duration: 5500
12+ }"
13+ />
14+ </div >
15+ <div
16+ class =" relative w-full h-full border-gray-200 dark:border-gray-700 rounded-2xl bg-white dark:bg-gray-900 overflow-x-hidden overflow-y-auto"
17+ :class =" { border: store.tab.aside !== null }"
18+ >
1919 <iframe
2020 class =" w-full h-full"
2121 :class =" { hidden: store.tab.aside !== 'docs' }"
2222 :src =" store.doc"
2323 />
24- <article class =" relative w-full h-full overflow-x-hidden overflow-y-auto rounded-xl " >
24+ <article class =" w-full h-full rounded-2xl " >
2525 <Ray
26- class =" top-0 h-42 opacity-40 dark:opacity-100 pointer-events-none"
26+ class =" top-0 h-42 opacity-40 dark:opacity-100 pointer-events-none rounded-t-2xl "
2727 />
2828
2929 <main id =" elysia-playground-task" v-if =" store.tab.aside === 'task'" >
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ Similar to the above example, we can use the `use` method to plug the `user` ins
7777``` typescript
7878import { Elysia } from ' elysia'
7979
80- new Elysia ()
80+ const user = new Elysia ()
8181 .get (' /profile' , ' User Profile' )
8282 .get (' /settings' , ' User Settings' )
8383
You can’t perform that action at this time.
0 commit comments