Skip to content
This repository has been archived by the owner on Apr 15, 2021. It is now read-only.

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Gräwe committed Aug 8, 2018
1 parent b28652b commit 6ef398c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions meta.js
@@ -1,7 +1,7 @@
module.exports = {
helpers: {
escape: function (value) {
return value.replace(/'/g, ''');
return value.replace(/'/g, ''')
}
},
prompts: {
Expand All @@ -19,7 +19,7 @@ module.exports = {
author: {
'type': 'string',
'message': 'Author'
},
}
},
completeMessage: '{{#inPlace}}To get started:\n\n npm install # Or yarn\n npm run dev{{else}}To get started:\n\n cd {{destDirName}}\n npm install # Or yarn\n npm run dev{{/inPlace}}'
};
}
9 changes: 3 additions & 6 deletions template/nuxt.config.js
Expand Up @@ -3,12 +3,11 @@ const glob = require('glob-all')
const path = require('path')

class TailwindExtractor {
static extract(content) {
static extract (content) {
return content.match(/[A-Za-z0-9-_:\/]+/g) || []
}
}


module.exports = {
/*
** Headers of the page
Expand All @@ -22,9 +21,7 @@ module.exports = {
{ hid: 'description', name: 'description', content: '{{escape description }}' }
],
link: [
{
rel: 'icon', type: 'image/x-icon', href: '/favicon.ico'
}
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
},
/*
Expand Down Expand Up @@ -76,7 +73,7 @@ module.exports = {
]),
extractors: [{
extractor: TailwindExtractor,
extensions: ["vue"]
extensions: ['vue']
}],
whitelist: ['html', 'body']
})
Expand Down

0 comments on commit 6ef398c

Please sign in to comment.