@irvingjs/styled

6.16.0 • Public • Published

Styled Components Integration

This package contains support for styled, css and associated functions. Currently this packages implements styled-components, but the underlying logic maybe replaced by another library (like emotion) in the future.

Installation

  1. npm install @irvingjs/styled
  2. Import and add the styled server configuration file to your project's irving.config.server.js:
const styledComponentsConfig = require('@irvingjs/styled');

module.exports = {
    packages: [
        styledComponentsConfig,
    ],
    ...
};
  1. Import and add the styled client configuration file to your project's irving.config.js:
import styledComponentsConfig from '@irvingjs/styled-components';

const irvingConfig = {
    packages: [
        styledComponentsConfig,
    ],
    ...
};

export default irvingConfig;

Readme

Keywords

none

Package Sidebar

Install

npm i @irvingjs/styled

Weekly Downloads

4

Version

6.16.0

License

MIT

Unpacked Size

34 kB

Total Files

33

Last publish

Collaborators

  • alleyops
  • cahdeemer