8000 GitHub - andreyr82/retail-ui: React controls to implement standards at https://guides.kontur.ru/
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andreyr82/retail-ui

 
 

Repository files navigation

React UI

Build Status Test Coverage

Подключение

Webpack

Необходимо в конфиг webpack добавить следующие лоадеры:

/* ... */
module: {
  /* ... */
  loaders: [
    {
      test: /\.jsx?$/,
      loader: 'babel-loader',
      query: {
        presets: ['es2015', 'stage-0', 'react']
      },
      include: /retail-ui/
    },
    {
      test: /\.less$/,
      loaders: ['style', 'css', 'less'],
      include: /retail-ui/
    },
    {test: /\.(png|woff|woff2|eot)$/, loader: "file-loader"}
  ]
  /* ... */
}
/* ... */ 

Или можно воспользоваться проектом: retail-ui-starter

About

React controls to implement standards at https://guides.kontur.ru/

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 80.5%
  • CSS 14.6%
  • HTML 4.9%
0