-
-
Notifications
You must be signed in to change notification settings - Fork 163
doc: fixing headings, mention in README.md, adding TailwindCSS steps #589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Kocal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @spekulatius! It's look good to me, with few minor comments.
docs/development/TailwindCSS.md
Outdated
| // Specify the paths to all of the template files in your project | ||
| content: ['./src/**/*.vue'], | ||
|
|
||
| // Include any special characters you're using in this regular expression | ||
| defaultExtractor: (content) => content.match(/[\w-/:]+(?<!:)/g) || [], | ||
|
|
||
| extractors: [ | ||
| // https://purgecss.com/guides/vue.html | ||
| { | ||
| extensions: ['vue'], | ||
| extractor(content) { | ||
| const contentWithoutStyleBlocks = content.replace(/<style[^]+?<\/style>/gi, ''); | ||
| return contentWithoutStyleBlocks.match(/[A-Za-z0-9-_/:]*[A-Za-z0-9-_/]+/g) || []; | ||
| }, | ||
| }, | ||
| ], | ||
|
|
||
| whitelist: [], | ||
| whitelistPatterns: [ | ||
| /-(leave|enter|appear)(|-(to|from|active))$/, // transitions | ||
| /data-v-.*/, // scoped css | ||
| ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To indent
docs/development/TailwindCSS.md
Outdated
| }); | ||
|
|
||
| module.exports = { | ||
| plugins: [tailwindcss(), ...(process.env.NODE_ENV === 'production' ? [purgecss] : [])], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To indent
Ah, thanks for checking. Sorry, I've only copied it over and didn't check the indentation. It should be fixed now. |
|
Thank you! |
|
No problem! |
Hello @Kocal
as promised some more tidy up on the documentation site. This includes:
If you think anything needs to be tweaked, just let me know and I'll do it before merging :)
Cheers,
Peter