Closed markperez1904 closed 5 years ago
For me it works, so is important to understand how you and @dasmikko are importing the css. A tiny piece of code would help :)
Sorry for not showing any code! I'm importing it by using the module. Here is my nuxt.config.js
import pkg from './package'
export default {
mode: 'universal',
/*
** Headers of the page
*/
head: {
title: pkg.name,
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: pkg.description }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
},
/*
** Customize the progress-bar color
*/
loading: { color: '#fff' },
/*
** Global CSS
*/
css: [
],
/*
** Plugins to load before mounting the App
*/
plugins: [
],
/*
** Nuxt.js modules
*/
modules: [
// Doc: https://axios.nuxtjs.org/usage
'@nuxtjs/axios',
// Doc: https://buefy.github.io/#/documentation
'nuxt-buefy',
[
"nuxt-validate",
{
lang: "da"
}
],
],
/*
** Axios module configuration
*/
axios: {
// See https://github.com/nuxt-community/axios-module#options
},
/*
** Build configuration
*/
build: {
/*
** You can extend webpack config here
*/
extend(config, ctx) {
}
}
}
I've opened a Pull Request, this should fix the issue
Fixed https://github.com/buefy/nuxt-buefy/commit/85ca131e117409b7cf9f7f0bf723b01bb984c6e7, thanks @modularcoder
I am creating a statically generated website with nuxt.
After updating
nuxt-buefy
to0.3.12
, a production build of my app results with broken CSS.Once I reverted back to
0.3.10
, the CSS is restored.