Tutorial or cookbook on integration with 3rd party CSS frameworks.
Pick one option.
develop branch and create Pull Request 2. Feature / Improvement back to develop.release branch and create Pull Request 3. Stabilisation fix back to release.hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.
Thank you for reading
Tailwind would be great
Sass is great but I would love to see how to get tailwind integrated instead so I can stay out of "css brain mode" and focused totally are structuring elements in a theme.
It's already implemented here https://github.com/AbsoluteWebServices/vuetique-theme by AbsoluteWeb. This issue deals with compatibility issue with 1.11 upgrade.
@kkdg well it is customizing core files... not ideal i guess
@kkdg well it is customizing core files... not ideal i guess
馃憤
const purgecss = require('@fullhuman/postcss-purgecss')({
// Specify the paths to all of the template files in your project
content: [
'./src/**/*.html',
'./src/**/*.vue',
'./src/**/*.jsx'
],
// Include any special characters you're using in this regular expression
defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || []
});
const postcssConfig = {
loader: 'postcss-loader',
options: {
ident: 'postcss',
plugins: (loader) => [
require('tailwindcss'),
require('postcss-flexbugs-fixes'),
require('autoprefixer')({
flexbox: 'no-2009'
}),
...process.env.NODE_ENV === 'production'
? [purgecss]
: []
]
}
};
Exactly correct and what I would like to avoid. Monkey-patching like the above in the core webpack.base.config.ts will work it in but means remembering to re-patch later in a local implementation once the core gets moved into its own npm package. I'm trying to do it all through the theme and webpack extend workflow. As far as I know the config object passed into the theme webpack does not provide a hook onto the rules object.
Most helpful comment
Tailwind would be great