お気に入りRupert Barrow (Fonds de Dotation Rapido.org) が「LWC Patterns」で投稿 (元の質問者: Rupert Barrow)2022年1月24日 17:50 #LWR Node questionRupert BarrowHow can I include SLDS styles resources in my LWR Node app ?With LWC OSS on Node, we could have lwc-services.config.js something like this :module.exports = { resources: [ { from: 'src/resources/', to: 'dist/resources/' }, { from: 'node_modules/@salesforce-ux/design-system/assets', to: 'dist/SLDS'} ]}; which copied SLDS assets to dist at build time.Then index.html included a link to the SLDS CSS : <link rel="stylesheet" type="text/css" href="SLDS/styles/salesforce-lightning-design-system.css" /> How should we do this in an LWR app ?表示件数を増やすコメントを追加コメントを記入...太字斜体下線取り消し線箇条書き番号付きリストリンクを追加コードブロック画像を挿入ファイルを添付リンク URLキャンセル保存0/9000返信
Rupert BarrowHow can I include SLDS styles resources in my LWR Node app ?With LWC OSS on Node, we could have lwc-services.config.js something like this :module.exports = { resources: [ { from: 'src/resources/', to: 'dist/resources/' }, { from: 'node_modules/@salesforce-ux/design-system/assets', to: 'dist/SLDS'} ]}; which copied SLDS assets to dist at build time.Then index.html included a link to the SLDS CSS : <link rel="stylesheet" type="text/css" href="SLDS/styles/salesforce-lightning-design-system.css" /> How should we do this in an LWR app ?表示件数を増やす