CARVIEW |
Select Language
HTTP/2 200
date: Mon, 21 Jul 2025 16:28:40 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/live-codes/livecodes.git
etag: W/"4d4b44c1d41b1f575b44b9cfc6bf63b4"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=7BRZcwHtOgv8SsqqLHBZ5OdtSdGpGzkemNxSVtiEb08Z3NgP1vJesroRxgF5KDpMTh%2FZuVqnB4qinWfNgFbMzV1WyZsNo8HT7rAKVwwoJE3Kyuyb3GM9sxrSJY8%2B%2Bvt7nMKsCALkFgUhIRbNjFV4CWuPg%2BiaboAeRDtwTtOHeYllqWv1Q%2FV01Sns6luT8mhDqYRNHVpwRgBMHv3T%2BBfm62Z0LM%2BKlxVmBJvt06NY5B6ZgH7Zqo8JMGRPHzYRbRG%2B8k8%2BZEW%2Bka542pk2T%2BRBlg%3D%3D--TUYsT35bT5a3GFZj--4NUGpGCQyg6eofkKV5H7DA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1433192572.1753115319; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 16:28:39 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 16:28:39 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 99F6:7BE7E:1022BB:12EFF6:687E6AB7
feat(Compilers): vue, infer props from types · live-codes/livecodes@af91b7d · GitHub
Copy file name to clipboardExpand all lines: src/livecodes/compiler/compile-blocks.ts
Copy file name to clipboardExpand all lines: src/livecodes/languages/vue/lang-vue-compiler.ts
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 139
Commit af91b7d
committed
feat(Compilers): vue, infer props from types
1 parent dfd914c commit af91b7dCopy full SHA for af91b7d
File tree
Expand file treeCollapse file tree
2 files changed
+131
-51
lines changedFilter options
- src/livecodes
- compiler
- languages/vue
Expand file treeCollapse file tree
2 files changed
+131
-51
lines changedsrc/livecodes/compiler/compile-blocks.ts
Copy file name to clipboardExpand all lines: src/livecodes/compiler/compile-blocks.ts+9-4Lines changed: 9 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
| |||
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
32 |
| - | |
| 33 | + | |
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
| |||
132 | 133 |
| |
133 | 134 |
| |
134 | 135 |
| |
135 |
| - | |
| 136 | + | |
| 137 | + | |
136 | 138 |
| |
137 | 139 |
| |
138 | 140 |
| |
| |||
146 | 148 |
| |
147 | 149 |
| |
148 | 150 |
| |
149 |
| - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
150 | 155 |
| |
151 | 156 |
| |
152 | 157 |
| |
153 | 158 |
| |
154 |
| - | |
| 159 | + | |
155 | 160 |
| |
156 | 161 |
| |
157 | 162 |
| |
|
src/livecodes/languages/vue/lang-vue-compiler.ts
Copy file name to clipboardExpand all lines: src/livecodes/languages/vue/lang-vue-compiler.ts+122-47Lines changed: 122 additions & 47 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 |
| |
2 |
| - | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 |
| - | |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
| |||
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
16 |
| - | |
| 17 | + | |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
| |||
39 | 40 |
| |
40 | 41 |
| |
41 | 42 |
| |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
42 | 47 |
| |
43 | 48 |
| |
44 | 49 |
| |
| |||
52 | 57 |
| |
53 | 58 |
| |
54 | 59 |
| |
55 |
| - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
56 | 64 |
| |
57 | 65 |
| |
58 | 66 |
| |
| |||
62 | 70 |
| |
63 | 71 |
| |
64 | 72 |
| |
65 |
| - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
66 | 78 |
| |
67 | 79 |
| |
68 |
| - | |
| 80 | + | |
69 | 81 |
| |
70 | 82 |
| |
71 | 83 |
| |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
72 | 88 |
| |
73 | 89 |
| |
74 | 90 |
| |
75 | 91 |
| |
76 | 92 |
| |
| 93 | + | |
77 | 94 |
| |
78 | 95 |
| |
79 | 96 |
| |
| |||
83 | 100 |
| |
84 | 101 |
| |
85 | 102 |
| |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
90 | 107 |
| |
91 | 108 |
| |
92 | 109 |
| |
| |||
101 | 118 |
| |
102 | 119 |
| |
103 | 120 |
| |
104 |
| - | |
105 |
| - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
106 | 125 |
| |
107 |
| - | |
108 |
| - | |
| 126 | + | |
109 | 127 |
| |
110 | 128 |
| |
111 | 129 |
| |
112 | 130 |
| |
113 |
| - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
114 | 139 |
| |
115 |
| - | |
116 |
| - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
117 | 145 |
| |
118 | 146 |
| |
119 | 147 |
| |
| |||
147 | 175 |
| |
148 | 176 |
| |
149 | 177 |
| |
150 |
| - | |
| 178 | + | |
151 | 179 |
| |
152 | 180 |
| |
153 | 181 |
| |
154 |
| - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
155 | 185 |
| |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 |
| - | |
160 |
| - | |
161 |
| - | |
162 |
| - | |
163 |
| - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
164 | 206 |
| |
165 |
| - | |
166 |
| - | |
167 |
| - | |
168 |
| - | |
169 |
| - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
170 | 213 |
| |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
171 | 218 |
| |
172 |
| - | |
173 | 219 |
| |
174 | 220 |
| |
175 |
| - | |
| 221 | + | |
176 | 222 |
| |
177 | 223 |
| |
178 | 224 |
| |
179 | 225 |
| |
| 226 | + | |
| 227 | + | |
180 | 228 |
| |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
181 | 237 |
| |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
182 | 242 |
| |
183 | 243 |
| |
184 | 244 |
| |
185 | 245 |
| |
186 | 246 |
| |
187 | 247 |
| |
188 | 248 |
| |
189 |
| - | |
190 | 249 |
| |
| 250 | + | |
191 | 251 |
| |
| 252 | + | |
192 | 253 |
| |
193 | 254 |
| |
194 | 255 |
| |
195 |
| - | |
| 256 | + | |
196 | 257 |
| |
197 | 258 |
| |
198 | 259 |
| |
| |||
224 | 285 |
| |
225 | 286 |
| |
226 | 287 |
| |
227 |
| - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
228 | 292 |
| |
229 | 293 |
| |
230 | 294 |
| |
| |||
239 | 303 |
| |
240 | 304 |
| |
241 | 305 |
| |
| 306 | + | |
242 | 307 |
| |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 |
| - | |
248 |
| - | |
249 |
| - | |
250 |
| - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
251 | 317 |
| |
252 |
| - | |
| 318 | + | |
253 | 319 |
| |
254 | 320 |
| |
255 | 321 |
| |
| |||
260 | 326 |
| |
261 | 327 |
| |
262 | 328 |
| |
263 |
| - | |
| 329 | + | |
264 | 330 |
| |
265 | 331 |
| |
266 | 332 |
| |
| |||
287 | 353 |
| |
288 | 354 |
| |
289 | 355 |
| |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
290 | 365 |
| |
291 | 366 |
| |
292 | 367 |
| |
|
You can’t perform that action at this time.
0 commit comments