1.0.1 • Published 3 years ago

nuxt-bootstrap v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

nuxt-bootstrap

Install package

npm install --sade-dev nuxt-bootstrap

Create bootstrap custom asset file

// assets/custom.sass
@import "~bootstrap/scss/bootstrap";

Update nuxt config file

// nuxt.config.js
export default {
  head: {
    meta: [
      { charset: 'utf-8' },
      { name: 'viewport', content: 'width=device-width, initial-scale=1' }
    ]
  },
  buildModules: [ "nuxt-bootstrap" ],
  css: [
    { src: '~/assets/custom.scss', lang: 'sass' }
  ]
}