-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,33 @@ | ||
# gulp-frontend-builder | ||
# Сборщик статики | ||
|
||
Pug + SCSS + ES5 + Live Reload | ||
|
||
## Установка и запуск | ||
|
||
``` | ||
npm i | ||
npm run dev // Запуск live-сервера на http://localhost:3000/ | ||
npm run build // Чистка dist с последующей сборкой | ||
``` | ||
|
||
## Установка сторонних библиотек | ||
|
||
Библиотеки рекомендутся устанавливать через **npm i** | ||
|
||
Для CSS библиотек в файле vendor.css добавить путь к файлу в виде комментария, например | ||
|
||
``` | ||
/*= ../../node_modules/normalize.css/normalize.css */ | ||
``` | ||
|
||
Для JS библиотек в файле vendor.js добавить путь к файлу в виде комментария, например | ||
|
||
``` | ||
/*= ../../node_modules/jquery/dist/jquery.min.js */ | ||
``` | ||
|
||
--- | ||
|
||
Возможные улучшения, баги и пожелания кидать в [issue](https://github.com/areal-team/gulp-frontend-builder/issues) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
'use strict'; | ||
|
||
//= ../../node_modules/jquery/dist/jquery.min.js | ||
/*= ../../node_modules/jquery/dist/jquery.min.js */ |