jss-preset-default
Default preset for JSS with selected plugins.
Last updated a year ago by kof .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install jss-preset-default 
SYNC missed versions from official npm registry.

Default preset for JSS with selected plugins

Preset allows to setup JSS quickly with default settings and a number of plugins so that you don't need to learn how to setup plugins.

Gitter

API

preset()

Preset exports a default function which accepts options. Options is a map of plugin name in camel case and plugin options as value.

It returns a JSS options object, which can be passed to JSS constructor or the setup.

preset({somePlugin: options})

Setup global JSS instance

import jss from 'jss'
import preset from 'jss-preset-default'

jss.setup(preset())

Setup own JSS instance

import {create} from 'jss'
import preset from 'jss-preset-default'

const jss = create(preset())

Issues

File a bug against cssinjs/jss prefixed with [jss-preset-default].

License

MIT

Current Tags

  • 4.5.0                                ...           latest (a year ago)
  • 10.0.0-alpha.25                                ...           next (6 days ago)

50 Versions

  • 10.0.0-alpha.25                                ...           6 days ago
  • 10.0.0-alpha.24                                ...           a month ago
  • 10.0.0-alpha.23                                ...           2 months ago
  • 10.0.0-alpha.22                                ...           3 months ago
  • 10.0.0-alpha.21                                ...           3 months ago
  • 10.0.0-alpha.20                                ...           3 months ago
  • 10.0.0-alpha.19                                ...           3 months ago
  • 10.0.0-alpha.18                                ...           3 months ago
  • 10.0.0-alpha.17                                ...           3 months ago
  • 10.0.0-alpha.16                                ...           6 months ago
  • 10.0.0-alpha.15                                ...           6 months ago
  • 10.0.0-alpha.14                                ...           6 months ago
  • 10.0.0-alpha.13                                ...           6 months ago
  • 10.0.0-alpha.12                                ...           7 months ago
  • 10.0.0-alpha.11                                ...           7 months ago
  • 10.0.0-alpha.10                                ...           7 months ago
  • 10.0.0-alpha.9                                ...           8 months ago
  • 10.0.0-alpha.8                                ...           8 months ago
  • 10.0.0-alpha.7                                ...           9 months ago
  • 10.0.0-alpha.6                                ...           9 months ago
  • 10.0.0-alpha.5                                ...           9 months ago
  • 10.0.0-alpha.4                                ...           9 months ago
  • 10.0.0-alpha.3                                ...           9 months ago
  • 10.0.0-alpha.2                                ...           9 months ago
  • 4.5.0                                ...           a year ago
  • 4.4.0                                ...           a year ago
  • 4.3.0                                ...           2 years ago
  • 4.2.0                                ...           2 years ago
  • 4.1.0                                ...           2 years ago
  • 4.0.1                                ...           2 years ago
  • 4.0.0                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.3.1                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.9.0                                ...           3 years ago
  • 0.8.0                                ...           3 years ago
  • 0.7.0                                ...           3 years ago
  • 0.6.0                                ...           3 years ago
  • 0.5.0                                ...           3 years ago
  • 0.4.0                                ...           3 years ago
  • 0.3.1                                ...           3 years ago
  • 0.3.0                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 34
This Week 739
This Month 1,949
Last Day 57
Last Week 550
Last Month 3,962
Dependencies (10)
Dev Dependencies (15)
Dependents (196)

Copyright 2014 - 2017 © taobao.org |