Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 4dff074

Browse files
committed
tweak config
1 parent 9f1e54d commit 4dff074

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: width 0.2s, opacity 0.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: width 0.2s, opacity 0.4s
98+
opacity: 1
99+
background-color: #efc14e
100+
z-index: 999999
102101
</style>

0 commit comments

Comments
 (0)