Skip to content

Commit 1103969

Browse files
Update index.js (#39)
1 parent b64f177 commit 1103969

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

generator/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function injectPurgeConfig(api) {
5050
configPath,
5151
tailwindConfig.replace(
5252
'purge: []',
53-
"purge: { content: ['./public/**/*.html', './src/**/*.vue'] }",
53+
"purge: ['./public/**/*.html', './src/**/*.vue']",
5454
),
5555
);
5656
}
@@ -59,10 +59,10 @@ module.exports = (api, options) => {
5959
const postcss = readPostcssConfig(api);
6060
const configs = {
6161
dependencies: {
62-
'@tailwindcss/postcss7-compat': '^2.0.2',
62+
'@tailwindcss/postcss7-compat': '^2.2.17',
6363
autoprefixer: '^9',
6464
postcss: '^7',
65-
tailwindcss: 'npm:@tailwindcss/postcss7-compat@^2.0.2',
65+
tailwindcss: 'npm:@tailwindcss/postcss7-compat@^2.2.17',
6666
},
6767
postcss: {
6868
plugins: {

0 commit comments

Comments
 (0)