title: How to use JSON data in Scoped area of VUE Component
body: <p>I want to use my JSON data in the Scoped area of VUE Component.</p>
  
  <p>So basically my Json file contains CSS styles as text and HTML tags.</p>
  
  <p>I got the HTML value with v-html in Vue Component.</p>
  
  <p>but now I want to access the CSS value from JSON File in CSS Scoped area of my VUE Component.</p>
  
  <p>MY JSON </p>
  
  <pre><code>{
      "elements":[
             {
               "id":"11",
               "html":"&lt;button&gt;this is button&lt;/button&gt;",
               "css":"button{color:#f00;}",
               "author":"Test"
             }
      ]
  }
  </code></pre>
  
  <p>======================</p>
  
  <p>MY VUE Component</p>
  
  <pre><code>&lt;template&gt;
  &lt;div class="collection"&gt;
      &lt;section class="section section-elements"&gt;
          &lt;div class="container container--large"&gt;
              &lt;div class="row"&gt;
                  &lt;div class="col-sm-3" v-for="(item, index) in json.elements" v-bind:key="index"&gt;
                      &lt;div class="elements"&gt;
  
                          &lt;div class="elements-head" v-html="item.html" :style="item.css"&gt;
  
                          &lt;/div&gt;
                          &lt;div class="elements-main"&gt;
                              &lt;p&gt;{{ item.css }}&lt;/p&gt;
                          &lt;/div&gt;
                          &lt;div class="elements-foot"&gt;
                              &lt;p&gt;{{ item.author }}&lt;/p&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/section&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>