在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):craigmdennis/middleman-gulp-starter开源软件地址(OpenSource Url):https://github.com/craigmdennis/middleman-gulp-starter开源编程语言(OpenSource Language):JavaScript 61.2%开源软件介绍(OpenSource Introduction):Middleman + Gulp StarterBuild static sites using Middleman with Gulp Starter. Watch the screencast: https://youtu.be/-io8EeB3GHI Installation
Setup installs Bundler, Gem dependencies and NPM dependencies. Developing using Middleman + Gulp Starter
Middleman will launch Gulp Starter as an external pipeline, in development mode. Production builds
Middleman will minify HTML and Gulp starter will handle everything else Running Middleman without Gulp StarterThere may be instances where you want to run the standard Middleman tasks without initiating Gulp Starter. To do that you simply need to pass in another environment. It doesn't even need to exist.
Now you can create Revving AssetsYou'll no longer be able to use the built in Middleman asset helpers like gulp_asset_path('image/asset.jpg') # -> /image/logo-n39o4orb81.png
gulp_js_path('app.js') # -> /javascripts/app-f43e9abc11.js
gulp_css_path('app.css') # -> /stylesheets/app-d29e4cdb76.css
gulp_image_path('logo.png') # -> /images/logo-n39o4orb81.png So instead of this: <%= image_tag 'logo.png', alt: 'logo' %> You would do this: <%= image_tag gulp_image_path('logo.png'), alt: 'logo' %> Instead of this: <%= stylesheet_link_tag :site %> You would do this: <%= stylesheet_link_tag gulp_css_path('site.css') %>
When NOT to use the |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论