Skip to content

[Web Components Template] Enable base stylesheet and page specific assets directory that houses SCSS partial and images #15

@proeung

Description

@proeung

The problem

  • While developing the landing page for Watson Orchestrate, we realized that there are additional styles that are needed in order for us to assemble a landing page that matches the design.
  • Here's an example of the added styles that we've implemented for the Watson Orchestrate Landing page (https://github.ibm.com/Putra-Bonaccorsi/web-components-for-ei/blob/master/src/assets/scss/app.scss).
  • This feature allows adopters to easily build and contribute out boilerplate templates that can be used within the ibm.com EI content ecosystem and makes this project the go-to place to adopt landing page designs (eg. Explainer, Solution, etc) for different products.

The solution

  • Enable a /assets directory within each template page (eg. /src/pages/page2/assets)
  • Adjust the current Webpack configs to watch, live-reload, and build the assets.

Additional information

cc: @jwitkowski79

Metadata

Metadata

Assignees

Labels

Feature requestA new adopter requested featureadopter supportadopter: Innovation Teamused when component or pattern will be used by this adopterdevNeeds some dev workfollow-up: adopterhacktoberfesticeboxused for all issues in the Icebox pipeline. Stalebot ignores these issues when this label is added.package: web componentsWork necessary for the IBM.com Library web components package

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions