Skip to content

Commit 232f84d

Browse files
committed
move files
1 parent ca7b249 commit 232f84d

File tree

8 files changed

+6
-6
lines changed

8 files changed

+6
-6
lines changed

src/components/about/template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="header">
22
<div class="avatar" @click="active = !active">
3-
<img ease-2 src="/assets/images/avatar.jpg"/>
3+
<img ease-2 src="../../icons/avatar.jpg"/>
44
<div class="background"></div>
55
</div>
66
<div class="contacts" ease-3>

src/components/icon/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default {
2-
github: require('../../../assets/images/ic-github.svg'),
3-
gplus: require('../../../assets/images/ic-gplus.svg'),
4-
star: require('../../../assets/images/ic-star.svg'),
5-
zhihu: require('../../../assets/images/ic-zhihu.svg')
2+
github: require('../../icons/ic-github.svg'),
3+
gplus: require('../../icons/ic-gplus.svg'),
4+
star: require('../../icons/ic-star.svg'),
5+
zhihu: require('../../icons/ic-zhihu.svg')
66
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = {
2222
test: /\.(less|css)$/,
2323
loader: ExtractTextPlugin.extract('style', 'css!autoprefixer!less')
2424
}, {
25-
test: /\.png$/,
25+
test: /\.(png|jpg)$/,
2626
loader: "url?limit=10000000000000000000000"
2727
}, {
2828
test: /\.(html|svg)/,

0 commit comments

Comments
 (0)