Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nuxt import css

// for nuxt 3
export default {
  css: [
    // Load a Node.js module directly (here it's a Sass file)
    'bulma',
    // CSS file in the project
    '@/assets/css/main.css',
    // SCSS file in the project
    '@/assets/css/main.scss'
  ]
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nuxt #import #css
ADD COMMENT
Topic
Name
7+4 =