Skip to content

Commit 35bf29e

Browse files
author
tingyuan
authored
Update README.md
1 parent 6f9bff8 commit 35bf29e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# vue-flags-webpack-plugin
2-
Remove useless code by setting flags(toggles) in .vue SFC file(works with [`vue-loader`](https://github.com/vuejs/vue-loader) >= 15 and `webpack` >= 4)
2+
Remove useless code by setting flags(toggles) in .vue SFC file
33

44
[![npm version](https://img.shields.io/npm/v/vue-flags-webpack-plugin.svg)](https://www.npmjs.com/package/vue-flags-webpack-plugin)
55
[![Build Status](https://travis-ci.org/lovetingyuan/vue-flags-webpack-plugin.svg?branch=master)](https://travis-ci.org/lovetingyuan/vue-flags-webpack-plugin)
@@ -143,6 +143,7 @@ vue component:
143143
```
144144

145145
### ⚠️ Caveats
146+
* requires [`vue-loader`](https://github.com/vuejs/vue-loader) >= 15, `webpack` >= 4, `vue-template-compiler` >= 2.5.12
146147
* `v-*-flag` can not be used with `v-if` followed by `v-else-if` or `v-else`.
147148

148149
💡use `<template v-*-flag>` to wrap the condition elements.

0 commit comments

Comments
 (0)