Socket
Socket
Sign inDemoInstall

extpoint-yii2

Package Overview
Dependencies
196
Maintainers
2
Versions
134
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    extpoint-yii2

JavaScript part for projects on ExtPoint Yii2 Boilerplate and yii2-core


Version published
Weekly downloads
137
increased by1422.22%
Maintainers
2
Install size
26.0 MB
Created
Weekly downloads
 

Readme

Source

yii2-frontend

Frontend часть для проектов на ExtPoint Yii2 Boilerplate и yii2-core

Что содержит

Компоненты

  • ClientStorageComponent - чтение/запись в cookie/session/local storage;
  • HtmlComponent - очень удобная работа с именованиями классов по БЭМ;
  • HttpComponent - отправка HTTP запросов на сервер, обертка над axios;
  • LocaleComponent - компонент локализации, поддерживает plural.

Webpack

Обертка над webpack-easy, предназначенная только для шаблонных проектов на ExtPoint Yii2 Boilerplate.

Если у вас встретилась задача, которую не может решить данный модуль - стоит отказаться от него в пользу webpack-easy или webpack.

Пример использования (по-умолчанию в boilerplate):

require('extpoint-yii2/webpack')
    // Index js. Core module at first
    .base('./app/*/client.js')

    // Index css
    .styles('./app/*/style/index.less')

    // Admin css
    .styles('./app/*/admin/style/index.less', 'admin')

    // Other css
    .styles('./app/landing/style/index-*.less')

    // Widgets. Only widgets with php file. Filter /path/MY_WIDGET/MY_WIDGET.js
    .widgets('./app/*/widgets')
    .widgets('./app/*/admin/widgets');

Keywords

FAQs

Last updated on 19 Feb 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc