magento2-frontools | Set of front-end tools for Magento 2 based on Gulp.js | Ecommerce library
kandi X-RAY | magento2-frontools Summary
kandi X-RAY | magento2-frontools Summary
Set of front-end tools for Magento 2 based on Gulp.js
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of magento2-frontools
magento2-frontools Key Features
magento2-frontools Examples and Code Snippets
Community Discussions
Trending Discussions on magento2-frontools
QUESTION
I'm developing a Magento site using a Docker local environment.
I've installed the Sass blank theme and frontools. Now I'm trying to get browsersync working.
I'm doing this inside the cli
image, because that's where I initially setup gulp prior to trying my hand at browsersync.
Here are the respective configs
docker-compose.yml
...ANSWER
Answered 2019-Jan-03 at 14:36Your port is not published because you did not run docker-compose up
. A docker-compose run
command does not use all the service specifications in the compose file.
QUESTION
I am working with magento2-frontools and try to solve this issue:
https://github.com/SnowdogApps/magento2-frontools/issues/231
The problem is, that gulp styles
should have a non-zero exit code in case of errors, but it exits with 0
.
The gulp file looks like this:
...ANSWER
Answered 2017-Jul-11 at 15:11Just the --ci
flag has to be used.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install magento2-frontools
Run composer require snowdog/frontools
Go to package directory cd vendor/snowdog/frontools
Run yarn or npm install
Decide where you want to keep your config files. You can store them in Frontools config directory or in dev/tools/frontools/config (recommended). There is a setup task to copy all sample config files from the config to dev/tools/frontools/config and create a convenient symlink tools in the project root. If you want to keep config files inside frontools config dir, you have to handle this manually.
Define your themes in themes.json.
src - full path to theme
dest - full path to pub/static/[theme_area]/[theme_vendor]/[theme_name]
locale - array of available locales
parent - name of parent theme
stylesDir - (default styles) path to styles directory. For theme-blank-sass it's styles. By default Magento 2 use web/css.
disableSuffix - disable adding .min suffix using --prod flag.
postcss - (default ["autoprefixer({ overrideBrowserslist: browserslist })"]) PostCSS plugins config. Have to be an array.
modules - list of modules witch you want to map inside your theme
ignore - array of ignore patterns
usePolling - set this to true to successfully watch files over a network (i.e. Docker or Vagrant) or when your watcher dosen't work well. Warning, enabling this option may lead to high CPU utilization! chokidar docs
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page