File tree 6 files changed +21
-7
lines changed
6 files changed +21
-7
lines changed Original file line number Diff line number Diff line change
1
+ ** Deploy: https://unsky559.github.io/t004/ **
2
+
3
+ ``` shell
4
+ cd src
5
+ ```
6
+ ## dev server
7
+ ``` shell
8
+ npm run serve
9
+ ```
10
+ ## build
11
+ ``` shell
12
+ npm run build
13
+ ```
14
+ build project to root ``` dist ``` folder
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import IconBtn from "../iconBtn/iconBtn";
5
5
const DownloadSection = ( ) => {
6
6
return (
7
7
< div className = "downloadSection" style = { {
8
- "background-image" : "url(../ static/images/bg_yooosi_app-min.png)"
8
+ "background-image" : "url(static/images/bg_yooosi_app-min.png)"
9
9
} } >
10
10
< div className = "container" >
11
11
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ const DropdownFavs = () => {
15
15
</ div >
16
16
17
17
< div className = "controls" >
18
- < IconBtn icon = "../ static/icons/icon_heard.png"
19
- hoverLabel = "../ static/icons/icon_heard_d.png" />
18
+ < IconBtn icon = "static/icons/icon_heard.png"
19
+ hoverLabel = "static/icons/icon_heard_d.png" />
20
20
</ div >
21
21
</ button >
22
22
</ div >
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ const FullScreenMenu = (props) => {
40
40
< section className = "downloadApp" >
41
41
< h4 className = "downloadTitle" > Download app</ h4 >
42
42
< div className = "iconLinks" >
43
- < a href = "" > < img src = "../ static/icons/img-play-store.png" alt = "" /> </ a >
44
- < a href = "" > < img src = "../ static/icons/img-app-store.png" alt = "" /> </ a >
43
+ < a href = "" > < img src = "static/icons/img-play-store.png" alt = "" /> </ a >
44
+ < a href = "" > < img src = "static/icons/img-app-store.png" alt = "" /> </ a >
45
45
</ div >
46
46
</ section >
47
47
</ div >
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ const Header = (props) => {
40
40
< Dropdown header = { < IconBtn icon = "static/icons/icon_message.png" label = { 5 } /> } >
41
41
< DropdownMessages />
42
42
</ Dropdown >
43
- < IconBtn className = "microSearch" icon = "../ static/icons/icon_search.png" />
43
+ < IconBtn className = "microSearch" icon = "static/icons/icon_search.png" />
44
44
</ div >
45
45
</ div >
46
46
< div className = "searchBlock" >
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ module.exports = {
19
19
title : 'Title' ,
20
20
template : path . resolve ( __dirname , 'index.html' ) ,
21
21
inject : 'head' ,
22
- publicPath : "/"
22
+ publicPath : ". /"
23
23
} ) ,
24
24
new CopyPlugin ( {
25
25
patterns : [
You can’t perform that action at this time.
0 commit comments