質問編集履歴
3
誤字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -293,65 +293,3 @@
|
|
293
293
|
performance.getEntriesByType("navigation")[0].type;
|
294
294
|
|
295
295
|
```
|
296
|
-
|
297
|
-
### 非推奨の修正方法
|
298
|
-
|
299
|
-
```
|
300
|
-
|
301
|
-
<template>
|
302
|
-
|
303
|
-
<div class="home">
|
304
|
-
|
305
|
-
<img alt="Vue logo" src="../assets/logo.png">
|
306
|
-
|
307
|
-
<HelloWorld msg="Welcome to Your Vue.js App"/>
|
308
|
-
|
309
|
-
{{message}}
|
310
|
-
|
311
|
-
</div>
|
312
|
-
|
313
|
-
</template>
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
<script>
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
export default {
|
322
|
-
|
323
|
-
data(){
|
324
|
-
|
325
|
-
return {
|
326
|
-
|
327
|
-
message:"Hello"
|
328
|
-
|
329
|
-
};
|
330
|
-
|
331
|
-
},
|
332
|
-
|
333
|
-
mounted : function(){
|
334
|
-
|
335
|
-
console.log('mounted')
|
336
|
-
|
337
|
-
const type = performance.getEntriesByType("navigation")[0].type;
|
338
|
-
|
339
|
-
console.log("type:"+type);
|
340
|
-
|
341
|
-
if(type==="reload"){
|
342
|
-
|
343
|
-
console.log("リロードされた");
|
344
|
-
|
345
|
-
}else{
|
346
|
-
|
347
|
-
console.log("リロードされていない");
|
348
|
-
|
349
|
-
}
|
350
|
-
|
351
|
-
}
|
352
|
-
|
353
|
-
}
|
354
|
-
|
355
|
-
</script>
|
356
|
-
|
357
|
-
```
|
2
非推奨修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -294,7 +294,7 @@
|
|
294
294
|
|
295
295
|
```
|
296
296
|
|
297
|
-
### 非推奨修正
|
297
|
+
### 非推奨の修正方法
|
298
298
|
|
299
299
|
```
|
300
300
|
|
1
非推奨修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -283,3 +283,75 @@
|
|
283
283
|
Node.js v14.17.5
|
284
284
|
|
285
285
|
Vue @vue/cli 4.5.13
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
非推奨は以下のものに変わっていただけでした。
|
290
|
+
|
291
|
+
```
|
292
|
+
|
293
|
+
performance.getEntriesByType("navigation")[0].type;
|
294
|
+
|
295
|
+
```
|
296
|
+
|
297
|
+
### 非推奨修正
|
298
|
+
|
299
|
+
```
|
300
|
+
|
301
|
+
<template>
|
302
|
+
|
303
|
+
<div class="home">
|
304
|
+
|
305
|
+
<img alt="Vue logo" src="../assets/logo.png">
|
306
|
+
|
307
|
+
<HelloWorld msg="Welcome to Your Vue.js App"/>
|
308
|
+
|
309
|
+
{{message}}
|
310
|
+
|
311
|
+
</div>
|
312
|
+
|
313
|
+
</template>
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
<script>
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
export default {
|
322
|
+
|
323
|
+
data(){
|
324
|
+
|
325
|
+
return {
|
326
|
+
|
327
|
+
message:"Hello"
|
328
|
+
|
329
|
+
};
|
330
|
+
|
331
|
+
},
|
332
|
+
|
333
|
+
mounted : function(){
|
334
|
+
|
335
|
+
console.log('mounted')
|
336
|
+
|
337
|
+
const type = performance.getEntriesByType("navigation")[0].type;
|
338
|
+
|
339
|
+
console.log("type:"+type);
|
340
|
+
|
341
|
+
if(type==="reload"){
|
342
|
+
|
343
|
+
console.log("リロードされた");
|
344
|
+
|
345
|
+
}else{
|
346
|
+
|
347
|
+
console.log("リロードされていない");
|
348
|
+
|
349
|
+
}
|
350
|
+
|
351
|
+
}
|
352
|
+
|
353
|
+
}
|
354
|
+
|
355
|
+
</script>
|
356
|
+
|
357
|
+
```
|