wet-boew-php as bower dependency
Opened this issue · 9 comments
Was wondering if this would even be a possibility. Has anyone had any experience with using bower to include the wet-boew-php as a dependency?
I'd never heard of Bower before, thanks @sbrioux I'll have a look at it and see what it can do.
The main repo here https://github.com/wet-boew/wet-boew makes use of bower (http://bower.io/). The problem i'm coming across right now is that I have to manually download the zip package unzip it and then take all the core CSS, JS ... assets and such.
Not sure how you were managing it for this project? For example what were you doing to get all the core theme files into your project.
There's a way easier way to bower in WET for versions v4.0.16 and higher
{
"name": "your-bower",
"version": "0.0.0",
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"lib",
"test",
"tests"
],
"dependencies": {
"wet-boew": "wet-boew/wet-boew-cdn#v4.0.18",
"theme-gc-intranet": "wet-boew/themes-cdn#v4.0.18-theme-gc-intranet",
}
}
This may be what I was looking for. Does that give me just the core files and none of the demo and sample html files that are in the ZIP package?
Yep!
This is exactly what I was looking for! Now I can update my own PHP template so much easier. epic!
v4.0.16 was a big change to make it easier for variant to manage their resources.
Just made my day easier now. Was the information to do this available somewhere? I wasn't sure where to look. I was merely only looking at the wet-boew/wet-boew project and didn't know to look in the others.
No, it's not really documented