All language subtitles for 003 Convert it to Composition API_en

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French Download
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: WEBVTT 00:00.850 --> 00:04.480 Let's switch this simple app over to using the composition API. 00:04.780 --> 00:09.040 And one important thing to note is that everything in the template stays the same. 00:09.250 --> 00:12.850 We don't need to change anything in the template generally with the composition API. 00:12.880 --> 00:14.950 Everything in the template works exactly the same. 00:14.980 --> 00:19.720 We use data properties, computed properties, methods in exactly the same way. 00:19.780 --> 00:22.960 The only place we do things differently is in the script section. 00:23.200 --> 00:27.400 So I'm going to comment out this options API script section for now. 00:28.180 --> 00:32.800 So a lot of opening comment at the top of it and then a closing comment at the bottom of it. 00:34.420 --> 00:38.230 Let's add a new script section where we'll use the composition API. 00:38.230 --> 00:39.340 So scripts. 00:40.360 --> 00:44.120 Now we can use the composition API with two different patterns. 00:44.150 --> 00:49.150 There's the setup function pattern, which was the original pattern which came when the composition 00:49.150 --> 00:50.440 API first came out. 00:50.440 --> 00:55.870 And then we have the second pattern, which is the script setup pattern which was released later on 00:55.870 --> 00:56.980 and is much better. 00:57.100 --> 01:03.100 But for now, let's just use the original setup function pattern, although we will later use the superior 01:03.100 --> 01:04.480 script setup pattern. 01:04.480 --> 01:11.680 So to use the setup function pattern again, we need to add our export default, but we don't add options 01:11.680 --> 01:18.010 like data methods, etc. Instead, we add a settled function like this and we place all of our code 01:18.010 --> 01:18.550 in here. 01:18.580 --> 01:24.550 Basically all of our data properties, methods, computed properties, watches, etc. will all go inside 01:24.550 --> 01:26.080 this setup function.2053

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.