1.0.0 • Published 3 years ago
@creatorum/scss v1.0.0
Creatorum SCSS helpers package
Reset
To add reset import reset.scss in your ".scss" file:
@import "~/@creatorum/scss/reset";
Utils
To add utils add index.scss to your root scss file:
@import "~/@creatorum/scss/index";
For React.js and Webpack you maybe need a sass-resources-loader package. When you use it you should add something like this to your webpack config:
{
loader: 'sass-resources-loader',
options: {
resources: [
path.resolve(__dirname, 'node_modules/@creatorum/scss/index'),
],
},
},
1.0.0
3 years ago