Skip to content

Commit f0f8363

Browse files
samuelchluiPanJiaChen
authored andcommitted
perf[style]: use webpack alias instead of hard code src path (PanJiaChen#1338)
1 parent 6f5591c commit f0f8363

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/Upload/singleImage3.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default {
8383
</script>
8484

8585
<style rel="stylesheet/scss" lang="scss" scoped>
86-
@import "src/styles/mixin.scss";
86+
@import "~@/styles/mixin.scss";
8787
.upload-container {
8888
width: 100%;
8989
position: relative;

src/views/example/components/ArticleDetail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export default {
234234
</script>
235235

236236
<style rel="stylesheet/scss" lang="scss" scoped>
237-
@import "src/styles/mixin.scss";
237+
@import "~@/styles/mixin.scss";
238238
.createPost-container {
239239
position: relative;
240240
.createPost-main-container {

src/views/layout/Layout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default {
4848
</script>
4949

5050
<style rel="stylesheet/scss" lang="scss" scoped>
51-
@import "src/styles/mixin.scss";
51+
@import "~@/styles/mixin.scss";
5252
.app-wrapper {
5353
@include clearfix;
5454
position: relative;

0 commit comments

Comments
 (0)