In my nuxt.config.js
I added this:
module.exports = {
head: {
meta: [
{charset: 'utf-8'},
{'http-equiv': 'X-UA-Compatible', content: 'IE=edge'}
],
css: [
'hover.css/css/hover-min.css',
'bulma/css/bulma.css',
"HTML_design/libs/fancybox/jquery.fancybox.css",
"HTML_design/libs/owl-carousel/assets/owl.carousel.css",
"HTML_design/style.css",
{src: "~/assets/css/style.css", lang: 'css'}
],
build: {
extractCSS: true
}
}
};
I've used several methods of connection, but none has helped
In my packege.json
{
"name": "mynuxt",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"axios": "^0.16.2",
"bulma": "^0.5.1",
"hover.css": "^2.2.0",
"nuxt": "^1.0.0-rc4",
"vue-style-loader": "^3.0.1"
}
}
But in the console in my browser, I can not see the connected css files. what to I do?
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1237">#c1237</a>)</em></sub></div>