Skip to content

Commit c2d060c

Browse files
committed
test: vue demo app
1 parent e6c74ec commit c2d060c

File tree

3 files changed

+37
-6
lines changed

3 files changed

+37
-6
lines changed

demo-vue/app.webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ module.exports = (env, params = {}) => {
206206
});
207207

208208
// // we remove default rules
209-
config.plugins = config.plugins.filter((p) => ['CopyPlugin'].indexOf(p.constructor.name) === -1);
209+
config.plugins = config.plugins.filter((p) => ['CopyPlugin', 'ForkTsCheckerWebpackPlugin'].indexOf(p.constructor.name) === -1);
210210
// we add our rules
211211
const globOptions = { dot: false, ignore: [`**/${relative(appPath, appResourcesFullPath)}/**`] };
212212
const context = nsWebpack.Utils.platform.getEntryDirPath();

demo-vue/app/app.scss

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
}
44

55
label {
6-
color:black;
6+
color: black;
77
.ns-dark & {
88
color: red;
99
}
1010
}
11-
mdbutton,MDFloatingActionButton, MDCardView {
11+
mdbutton,
12+
MDFloatingActionButton,
13+
MDCardView {
1214
shape: cut;
1315
}
1416
// page {
@@ -65,4 +67,33 @@ bottomnavigationbar {
6567
stroke-color: green;
6668
stroke-inactive-color: red;
6769
placeholder-color: #757575;
68-
}
70+
}
71+
72+
MDTabs {
73+
/* color: gold; */
74+
}
75+
76+
MDTabContentItem.special {
77+
color: green;
78+
}
79+
80+
MDTabStrip {
81+
color: skyblue;
82+
selected-item-color: brown;
83+
// un-selected-item-color: orange;
84+
highlight-color: yellow;
85+
background-color: green;
86+
}
87+
88+
MDTabStripItem.special {
89+
color: teal;
90+
}
91+
92+
MDTabStripItem.nested {
93+
color: teal;
94+
}
95+
96+
MDTabStripItem:highlighted {
97+
background-color: red;
98+
color: purple;
99+
}

demo-vue/app/examples/BottomNavigation.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ MDTabs {
7878
/* color: gold; */
7979
}
8080
81-
MDTabContentItem.special {
81+
/* MDTabContentItem.special {
8282
color: green;
8383
}
8484
@@ -101,6 +101,6 @@ MDTabStripItem.nested {
101101
MDTabStripItem:highlighted {
102102
background-color: red;
103103
color: yellowgreen;
104-
}
104+
} */
105105
106106
</style>

0 commit comments

Comments
 (0)