File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,22 @@ export default {
181
181
}
182
182
```
183
183
184
+ ## Migrating from v0.x
185
+
186
+ 1 . Review the [ ** Release Notes** ] ( ./CHANGELOG.md ) for all changes
187
+ 2 . Bump to 1.x
188
+ 3 . Ensure the plugin is running in the right mode
189
+ * If you used the default mode, you have to add ` mode: 'webpack' ` to your config.
190
+ * If you used the ` postcss ` mode, you can remove the ` mode: 'postcss' ` line from your config
191
+ * If you used this module only with the [ Nuxt ` tailwind ` module] ( https://github.com/nuxt-community/tailwindcss-module ) , you don't need to do anything
192
+ 4 . Read about the internal changes of [ PurgeCSS 2] ( https://github.com/fullhuman/purgecss/releases )
193
+ 5 . Update your extractor and change the syntax from a class to a function (see 4.)
194
+ 6 . Unused styles from SFCs are now purged. If you don't want that, whitelist them.
195
+ 7 . The regex for CSS classes changed. This should not be breaking in most cases.
196
+ 8 . The whitelist now includes nuxt link classes (e.g. ` nuxt-link-active ` ). If you whitelisted these before, you can remove them.
197
+ 9 . The whitelist now includes move transition classes. If you whitelisted these before, you can remove them.
198
+ 10 . Test on your staging server (or locally) before deploying!
199
+
184
200
## License
185
201
186
202
[ MIT License] ( ./LICENSE )
You can’t perform that action at this time.
0 commit comments