fix depends and answer basic question choosing
This commit is contained in:
parent
a180381f99
commit
05b2b81db7
3 changed files with 1339 additions and 2860 deletions
|
@ -22,17 +22,17 @@ const answer = defineModel<string | null | undefined>();
|
||||||
v-model="answer"
|
v-model="answer"
|
||||||
type="radio"
|
type="radio"
|
||||||
name="tak_nie"
|
name="tak_nie"
|
||||||
:value="value"
|
:value="value.toString()"
|
||||||
class="btn btn-primary btn-xl"
|
class="btn btn-primary btn-xl"
|
||||||
:aria-label="element"
|
:aria-label="element"
|
||||||
:class="
|
:class="
|
||||||
answer == null
|
answer == null
|
||||||
? false
|
? false
|
||||||
: answer === value?.toString()
|
: answer === value.toString()
|
||||||
? '!btn-secondary'
|
? '!btn-secondary'
|
||||||
: ''
|
: ''
|
||||||
"
|
"
|
||||||
:checked="answer == null ? false : answer === value?.toString()"
|
:checked="answer == null ? false : answer === value.toString()"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -15,15 +15,17 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nuxt/fonts": "0.11.1",
|
"@nuxt/fonts": "0.11.1",
|
||||||
"@nuxtjs/tailwindcss": "6.13.1",
|
"@nuxtjs/tailwindcss": "6.13.2",
|
||||||
"@pinia/nuxt": "0.11.0",
|
"@pinia/nuxt": "0.11.0",
|
||||||
|
"array-shuffle": "^3.0.0",
|
||||||
"daisyui": "^5.0.20",
|
"daisyui": "^5.0.20",
|
||||||
"date-fns": "^4.1.0",
|
"date-fns": "^4.1.0",
|
||||||
"dotenv": "^16.5.0",
|
"dotenv": "^16.5.0",
|
||||||
|
"drizzle-kit": "^0.31.0",
|
||||||
"drizzle-orm": "^0.42.0",
|
"drizzle-orm": "^0.42.0",
|
||||||
"eslint": "^9.24.0",
|
"eslint": "^9.24.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"nuxt": "~3.15.4",
|
"nuxt": "~3.16.2",
|
||||||
"pg": "^8.14.1",
|
"pg": "^8.14.1",
|
||||||
"pinia": "^3.0.2",
|
"pinia": "^3.0.2",
|
||||||
"vue": "latest",
|
"vue": "latest",
|
||||||
|
@ -31,11 +33,9 @@
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.4.1+sha512.c753b6c3ad7afa13af388fa6d808035a008e30ea9993f58c6663e2bc5ff21679aa834db094987129aa4d488b86df57f7b634981b2f827cdcacc698cc0cfb88af",
|
"packageManager": "pnpm@10.4.1+sha512.c753b6c3ad7afa13af388fa6d808035a008e30ea9993f58c6663e2bc5ff21679aa834db094987129aa4d488b86df57f7b634981b2f827cdcacc698cc0cfb88af",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"array-shuffle": "^3.0.0",
|
|
||||||
"@nuxt/eslint": "1.3.0",
|
"@nuxt/eslint": "1.3.0",
|
||||||
"@types/lodash": "^4.17.16",
|
"@types/lodash": "^4.17.16",
|
||||||
"@types/pg": "^8.11.13",
|
"@types/pg": "^8.11.13",
|
||||||
"drizzle-kit": "^0.30.5",
|
|
||||||
"eslint-config-prettier": "^10.1.2",
|
"eslint-config-prettier": "^10.1.2",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
"tsx": "^4.19.3",
|
"tsx": "^4.19.3",
|
||||||
|
|
4185
pnpm-lock.yaml
generated
4185
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue