File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Remove useless code by setting flags(toggles) in .vue SFC file(works with [`vue-
5
5
[ ![ Build Status] ( https://travis-ci.org/lovetingyuan/vue-flags-webpack-plugin.svg?branch=master )] ( https://travis-ci.org/lovetingyuan/vue-flags-webpack-plugin )
6
6
[ ![ JavaScript Style Guide] ( https://img.shields.io/badge/code_style-standard-brightgreen.svg )] ( https://standardjs.com )
7
7
8
- ### ⚙ usage
8
+ ### ⚙ Usage
9
9
10
10
install:
11
11
``` bash
@@ -58,7 +58,7 @@ options:
58
58
}
59
59
```
60
60
61
- ### 🌰 example
61
+ ### 🌰 Example
62
62
flags file: ` ./allFlags.js `
63
63
``` javascript
64
64
module .exports = {
@@ -142,7 +142,7 @@ vue component:
142
142
</style >
143
143
```
144
144
145
- ### ⚠️ attention
145
+ ### ⚠️ Caveats
146
146
* ` v-*-flag ` can not be used with ` v-if ` followed by ` v-else-if ` or ` v-else ` .
147
147
148
148
💡use ` <template v-*-flag> ` to wrap the condition elements.
You can’t perform that action at this time.
0 commit comments