Comments (7)
think it is another block technology
what do you mean by "block technology"?
from getbem.github.io.
@iamstarkov for instance CSS
and JavaScript
— another block techs.
from getbem.github.io.
@dab it depends wholly on how you transfer your images to destanation folder. In most common case you will need to use something like https://www.npmjs.com/package/gulp-css-url-adjuster/
from getbem.github.io.
I don’t want to rely on "tech" term because it’s vendored by yandex, and very restricted to build flow. Also it is not tech, it is simple files. And it’s all up to you, how to store you code and how to build it. General modularization rule to separate code into small pieces is working great for bem.
from getbem.github.io.
@dab Also, @floatdrop is right, you can use one of the tons of npm modules to deal with rebasing urls in the file sources
from getbem.github.io.
@iamstarkov @floatdrop The question was about your recommended practices. Maybe you using some magic tool for this task 🎆 Already using npm modules for this.
Thanks.
from getbem.github.io.
@dab I used to use gulp.src('blocks/**').pipe(gulp.dest('dist/blocks'));
and was fine with that. I implemented it in test assignment for csssr, you can check and play it here https://github.com/iamstarkov/csssr-profile
from getbem.github.io.
Related Issues (20)
- What's the relationship between getbem.com and bem.info? HOT 1
- Block Inside Blcok HOT 1
- Typo on getbem's CSS
- Is nesting necessary in some situations?
- Does Yandex use BEM in correct way?
- Where is a definitive guide?
- Can a DOM element be an element of two or more blocks?
- FAQ: What if some styles only apply to 1 element type?
- Hello the website content is not readable. Please make it bold and darker color.
- Republish getbem to GitHub pages
- Can blocks have other blocks as children, or only elements are allowed?
- BEMify tailwind classes
- Internationalize site
- Move socials and navigation links to hamburger-like button on small screens
- Fix default theme in shikiConfig
- ToC on mdx pages HOT 4
- Restyle introduction and naming
- Convert html elements in mdx to markdown
- Make code smaller on sm size
- a dead link on introduction page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from getbem.github.io.