The Welkin Suite Forum

LWC Shared CSS component



LWC Shared CSS component

  • Please log in to reply

#1
windows version welkinsuite

nunocardoso

    Posted 20 Jan 2022

    Hello,

    I need to create a common CSS LWC component to share styles across components.
    Following SF's guidelines to Share CSS Style Rules (https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.create_components_css_share), using Welkin Suite I could not create a LWC only with CSS and the configuration file. Even if I edited the files in file explorer, then TWS wasn't able to build, since it wasn't finding the meta file (although it was there, but the main .js file was not, so it wasn't presenting the meta file within the IDE).
     
    Is there any workaround for this or an expected update to solve this issue?
     
    Thanks.
    Best regards.


    0 replies to this topic



    Boost Your Productivity. Get Started Today

    Try Free Trial