Nuxt

Embed

Follow the following steps to use svd-style in your current Nuxt project.

installation

  1. Install the package using npm or yarn
    • npm npm install svd-style
    • yarn yarn add svd-style
  2. Make sure you have also installed Sass and sass-loader
    • npm npm i node-sass sass-loader
    • yarn yarn add snode-sass sass-loader

Create stylesheet

  1. Create a file called app.scss and add this file in the folders assets/scss
  2. Import the svd-style to the file.

nuxt.config.js

  1. Create your app.scss and add it to the nuxt configuration.
  2. Include this code in the module.exports