ProposeJS: CSS common Data

Defining CSS Common Data

CSS Common Data executes on a particular directory. To define CSS common data, follow the steps below:

1. Create a CSS File

Create a CSS file to store CSS common data:

/article/common.cssh1 {
    color: red;
    }

2. Update the propose.json File

Make a proposal for CSS common data in the propose.json file:

/propose.json{
    "css": {
    "common": {
      "/article": ["/article/common.css"]
       }
     }
 }    

Note