1.1.8 • Published 3 years ago
@paperlust/design-system v1.1.8
Design System
Design System is a configuration style tailwindcss for multi project.
Installation
Use the package manager nodejs to install Design System.
npm install @paperlust/design-system
Usage
create postcss.config.js
module.exports = {
plugins: {
tailwindcss: {
config: './node_modules/@paperlust/design-system/tailwindcss-config.js',
},
autoprefixer: {},
},
};
or you can include webpack mix
mix.options({
processCssUrls: false,
postCss: [
tailwindcss(
'./node_modules/@paperlust/design-system/tailwindcss-config.js'
),
],
});
create purge-config.js
module.exports = {
content: ['./public/**/*.html', './src/**/*.vue'],
};
import ~/node_modules/@paperlust/design-system/assets/scss/app.scss
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.