humzariaz
01/20/2021, 10:19 AMsrc:url(Utils.getAbsoluteUrl(getExtensionAssetsPath('')
this function in SCSSSteve Goldberg
01/20/2021, 11:35 AMsrc: url(getExtensionAssetsPath('...'))
Steve Goldberg
01/20/2021, 11:35 AMhumzariaz
01/21/2021, 4:37 AMurl:Utils.getAbsoluteUrl(getExtensionAssetsPath('...')
, and now I am trying to upload Fonts but In SASS file Utils.getAbsoluteUrl not working for me as "UTILS" not defined in SASSSteve Goldberg
01/21/2021, 10:56 AMhumzariaz
01/21/2021, 12:32 PM"<http://scwsadmin111720hr.nstraining1.com/SSP%20Applications/NetSuite%20Inc.%20-%20SCA%202020.1/Development/extensions/humza/ThirdPartyLibrary/1.0.0/fonts/>"{{MyFileInFontsFolder}}""
So how I can get this complete URL in SCSS file?Steve Goldberg
01/21/2021, 1:48 PMSteve Goldberg
01/21/2021, 1:49 PMSteve Goldberg
01/21/2021, 1:49 PM@font-face {
font-family: 'Oracle Sans';
font-style: normal;
font-weight: 400;
src: url(getExtensionAssetsPath("fonts/OracleSans-Rg.woff2"));
}
Steve Goldberg
01/21/2021, 1:49 PMSteve Goldberg
01/21/2021, 1:50 PMSteve Goldberg
01/21/2021, 1:52 PMSteve Goldberg
01/21/2021, 1:53 PM