質問編集履歴
2
タイトル変更
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Nuxt.jsでTypescriptを導入後、 vue-awesome-swiperのライブラリーを入れるとエラーがでます。
|
test
CHANGED
File without changes
|
1
ソースの表示
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,10 +16,6 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
行った実装はこちらになります。
|
20
|
-
|
21
|
-
|
22
|
-
|
23
19
|
```ここに言語を入力
|
24
20
|
|
25
21
|
Failed to compile with 2 errors friendly-errors 11:00:23
|
@@ -38,7 +34,17 @@
|
|
38
34
|
|
39
35
|
|
40
36
|
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
## 行った実装はこちらになります。
|
42
|
+
|
43
|
+
|
44
|
+
|
41
|
-
|
45
|
+
index.vue
|
46
|
+
|
47
|
+
```vue
|
42
48
|
|
43
49
|
<template lang="pug">
|
44
50
|
|
@@ -142,7 +148,9 @@
|
|
142
148
|
|
143
149
|
|
144
150
|
|
145
|
-
|
151
|
+
plugin/swiper.js
|
152
|
+
|
153
|
+
``` javascript
|
146
154
|
|
147
155
|
import Vue from 'vue'
|
148
156
|
|
@@ -160,7 +168,9 @@
|
|
160
168
|
|
161
169
|
|
162
170
|
|
163
|
-
|
171
|
+
nuxt.config.ts
|
172
|
+
|
173
|
+
```ts
|
164
174
|
|
165
175
|
import colors from 'vuetify/es5/util/colors'
|
166
176
|
|
@@ -354,7 +364,9 @@
|
|
354
364
|
|
355
365
|
|
356
366
|
|
357
|
-
|
367
|
+
tsconfig.json
|
368
|
+
|
369
|
+
```json
|
358
370
|
|
359
371
|
{
|
360
372
|
|