@anephenix/ui v0.1.1
UI
A design system for Next.js applications, using Sass as the CSS preprocessor.
Installation
npm i @anephenix/ui --save
Dependencies
- Node.js (14+)
- React (Version 17)
- Sass (V 5.0+)
Setup
In order to use Anephenix's React UI within your Next.js applications, you will need to adjust your Webpack configuration in order to load the react components.
Make sure that the next.config.js file for your Next.js app has this code:
const applyWebpackConfig = (test = /\.jsx/) => {
return (config, options) => {
config.module.rules.push({
test,
use: [options.defaultLoaders.babel],
});
return config;
};
};
module.exports = {
webpack: applyWebpackConfig(),
};
The applyWebpackConfig
function ensures that you can load the React components from the node_modules folder.
Usage
To be fleshed out. See the site for details.
tests
npm t
License and credits
©2021 Anephenix OÜ. UI is licenced under the MIT Licence.
1 year ago
2 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago