質問編集履歴

4

記載ミス修正

2020/07/03 02:07

投稿

xyunow
xyunow

スコア122

test CHANGED
File without changes
test CHANGED
@@ -56,8 +56,6 @@
56
56
 
57
57
  .
58
58
 
59
- ├── package.json
60
-
61
59
  ├── common
62
60
 
63
61
  │ └── static

3

ディレクトリ間違っていたため修正

2020/07/03 02:06

投稿

xyunow
xyunow

スコア122

test CHANGED
File without changes
test CHANGED
@@ -276,7 +276,7 @@
276
276
 
277
277
  ERROR in ../js/index.js
278
278
 
279
- Module not found: Error: Can't resolve 'jquery' in '/private/var/www/paso_web/resource/js'
279
+ Module not found: Error: Can't resolve 'jquery' in '/private/var/www/test/resource/js'
280
280
 
281
281
  @ ../js/index.js 1:0-23 8:0-1 9:0-1 10:0-1 12:0-1 13:0-1 14:0-1 16:3-4 17:4-5 18:4-5 20:0-1 21:0-1 23:0-1
282
282
 

2

package.jsonの追加

2020/07/02 21:00

投稿

xyunow
xyunow

スコア122

test CHANGED
File without changes
test CHANGED
@@ -148,6 +148,44 @@
148
148
 
149
149
  ```
150
150
 
151
+
152
+
153
+ ●package.json
154
+
155
+ ```json
156
+
157
+ {
158
+
159
+ "scripts": {
160
+
161
+ "w": "webpack --watch"
162
+
163
+ },
164
+
165
+ "dependencies": {
166
+
167
+ "css-loader": "^3.4.2",
168
+
169
+ "jquery": "^3.5.1",
170
+
171
+ "node-sass": "^4.13.1",
172
+
173
+ "sass-loader": "^8.0.2",
174
+
175
+ "style-loader": "^1.1.3",
176
+
177
+ "webpack": "^4.41.5",
178
+
179
+ "webpack-cli": "^3.3.10"
180
+
181
+ }
182
+
183
+ }
184
+
185
+
186
+
187
+ ```
188
+
151
189
  ●webpack.config.js
152
190
 
153
191
  ```ここに言語を入力

1

ファイルの追加

2020/07/02 20:57

投稿

xyunow
xyunow

スコア122

test CHANGED
File without changes
test CHANGED
@@ -84,6 +84,10 @@
84
84
 
85
85
  └── utility.js
86
86
 
87
+ └── calender.js
88
+
89
+ └── validate.js
90
+
87
91
  └── scss
88
92
 
89
93
  └── style.scss