Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4dff074

Browse files
committed
tweak config
1 parent9f1e54d commit4dff074

File tree

2 files changed

+12
-27
lines changed

2 files changed

+12
-27
lines changed

‎build/webpack.base.config.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,6 @@ module.exports = {
4545
name:'[name].[ext]?[hash]'
4646
}
4747
},
48-
{
49-
test:/\.css$/,
50-
use:isProd
51-
?ExtractTextPlugin.extract({
52-
use:[
53-
{
54-
loader:'css-loader',
55-
options:{minimize:true}
56-
}
57-
],
58-
fallback:'vue-style-loader'
59-
})
60-
:['vue-style-loader','css-loader']
61-
},
6248
{
6349
test:/\.styl(us)?$/,
6450
use:isProd

‎src/components/ProgressBar.vue

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,16 @@ export default {
8686
}
8787
</script>
8888

89-
<style scoped>
90-
.progress {
91-
position:fixed;
92-
top:0px;
93-
left:0px;
94-
right:0px;
95-
height:2px;
96-
width:0%;
97-
transition: width0.2s, opacity0.4s;
98-
opacity:1;
99-
background-color:#efc14e;
100-
z-index:999999;
101-
}
89+
<style lang="stylus" scoped>
90+
.progress
91+
position:fixed
92+
top:0px
93+
left:0px
94+
right:0px
95+
height:2px
96+
width:0%
97+
transition:width0.2s,opacity0.4s
98+
opacity:1
99+
background-color:#efc14e
100+
z-index:999999
102101
</style>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp