Responsible for the shared utilities and styles for all packages.
- General - Contains general philosophy and overview of this package
- Modules docs - Contains implementation guides (i.e., scaffolding, code usage)
##Commands: setup :
lerna bootstrap
serve :
npm run serve
build :
npm run build
test :
npm run test
Run npm i sass-resources-loader --save-dev
and add the following in your webpack css loader
loader: 'sass-resources-loader',
options: {
resources: require('@deriv/shared/src/styles/index.js'),
}
}
@import @deriv/shared/utils/styles/reset.scss
@import @deriv/shared/utils/styles/google-fonts.scss
import { toMoment } '@deriv/shared'