質問編集履歴

2

誤字

2018/08/14 02:00

投稿

_bg
_bg

スコア13

test CHANGED
File without changes
test CHANGED
@@ -38,7 +38,7 @@
38
38
 
39
39
 
40
40
 
41
- <%- include ('tamplete/_header',{path:'./'}) %>
41
+ <%- include ('template/_header',{path:'./'}) %>
42
42
 
43
43
  <main>
44
44
 
@@ -46,7 +46,7 @@
46
46
 
47
47
  </main>
48
48
 
49
- <%- include tamplete/_footer %>
49
+ <%- include template/_footer %>
50
50
 
51
51
 
52
52
 
@@ -60,7 +60,7 @@
60
60
 
61
61
  ```ejs
62
62
 
63
-
63
+ <header>
64
64
 
65
65
  <nav class="global_nav">
66
66
 
@@ -74,7 +74,7 @@
74
74
 
75
75
  </nav>
76
76
 
77
-
77
+ </header>
78
78
 
79
79
 
80
80
 
@@ -112,11 +112,17 @@
112
112
 
113
113
 
114
114
 
115
- 第二引数を記述しない場合は普通にコンパイルできました。
115
+ 第二引数を指定しない場合は普通にコンパイルできました。
116
116
 
117
117
  ですので設定ファイル等も問題ないと思います。
118
118
 
119
119
 
120
+
121
+ 最終的には皆様がejsを用いてされているように、includeするファイルの階層に応じて、aタグのパスを変えたいのです。
122
+
123
+
124
+
125
+ 是非ともよろしくお願いいたします。
120
126
 
121
127
 
122
128
 

1

エラーメッセージを更新しました。

2018/08/14 02:00

投稿

_bg
_bg

スコア13

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,17 @@
12
12
 
13
13
  ```
14
14
 
15
+ Message:
16
+
15
- Error: Could not find the include file "(&#39;tamplete/_header&#39;,{path:&#39;./&#39;})"
17
+ Error: Could not find the include file "(&#39;tamplete/_header&#39;,{path:&#39;./&#39;})"
18
+
19
+ Details:
20
+
21
+ domainEmitter: [object Object]
22
+
23
+ domain: [object Object]
24
+
25
+ domainThrown: false
16
26
 
17
27
 
18
28