bem-archive / generator-bem-stub

[DEPRECATED] A generator of BEM projects
http://bem.info/tools/bem/bem-stub/
MIT License
41 stars 9 forks source link

Не подключается модульная система #74

Closed aristov closed 10 years ago

aristov commented 10 years ago
yo bem-stub
[?] How to name the project? hello-bem-new
[?] Who will mantain this project? aristov
[?] What email to use? vv.aristov@gmail.com
[?] What collector to use? enb
[?] What base library to use? bem-core
[?] Would you like any additional libraries? bem-components
[?] What platforms to use? desktop
[?] Use design from bem-components? Yes
[?] What technologies to use? bemjson.js, browser.js
[?] What template system to use? bemhtml
[?] Build static html? Yes
[?] What files to minimize?
...
enb server

Открываю http://0.0.0.0:8080/desktop.bundles/index/index.html получаю js-ошибку: ReferenceError: modules is not defined

Решение: нужно использовать технологию prepend-modules из пакета enb-modules при сборке клиентского JS.

eGavr commented 10 years ago

/сс @andrewblond

eGavr commented 10 years ago

:+1:

eGavr commented 10 years ago

Pull the latest commits from the branch master and test the assembly, I've fixed this task via #76