Forum Discussion
Are you able to point me to the source where I can view the CSS changes locally?
Jake_N Besides making Lithium look for your locally compiled CSS in Studio (as TariqHussain wrote above) you will need to tell the SDK to serve/compile the SASS with
li serve-sass
that is because your skin usually depends on other skins (e.g. responsive peak, base, whatever) that you do not automatically download with
li export-studio-plugin // or li export-plugin
To speed up the time it takes to submit the plugin, I would recommend you to only export the stuff you often work on, e.g. limit the plugin points as much as you can, the more is inside the plugin each time it is submitted, the longer it takes...this can be done with the points flag, e.g.
li export-studio-plugin --points "skin,component,macro"
if you want to keep track of everything with version control I'd advise you to create a separate "develop" branch where you to the above, within the "master" branch or "full" branch you can have a complete export of studio still... but limiting your plugin points will help a bit with the speed issues...as you say, it doesn't make much of a difference if you save trough studio or submit an SDK plugin, both are painfully slow...
Guess you know the SDK docs already, but here they are anyways =): https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=sdk
- srinivaskiranp7 years agoGuide
I tried to do Local Responsive Development Options through sdk as mentioned in this post and also as per the sdk document. But i am not able to see the UI properly as it is when run on studio. Need help to get the proper results.
screen shot reference.
- luk7 years agoBoss
Yap, that's how a community looks without CSS =)...therefore: I do assume you enabled "local CSS" in the SDK tab in studio right? So it's looking for a CSS file from your //localhost:<someport>, can you verify that?
If that's the case it means either the local CSS URL you set in studio is wrong (port?) or your local CSS is not compiled for some reason, did you run
li serve-sass
?
- srinivaskiranp7 years agoGuide
Yes i did, please find the screenshots what i did, correct me if anything went wrong.
After i used my dev community url to run and found what i said earlier.
Related Content
- 12 months ago