Comments (2)
No the proplem is with next.config.js i have had the same issue for 3 hours but finally i fix it still here is my answer >
chang this entire file script to
`
const withPlugins = require("next-compose-plugins");
const withImages = require("next-images");
const withSass = require("@zeit/next-sass");
const withCSS = require("@zeit/next-css");
const withFonts = require("next-fonts");
const path = require("path");
module.exports = withFonts(
withCSS(
withImages(
withSass({
cssLoaderOptions: { // this solves the issue
url: false
},
webpack(config, options) {
config.module.rules.push({
test: /.(woff|woff2|eot|ttf|otf)$/,
test: /.xml$/,
use: {
loader: "url-loader",
loader: 'xml-loader',
},
});
config.resolve.modules.push(path.resolve("./"));
return config;
},
})
)
)
);`
and in page/_app.js
PUT THAT URL IN HEAD TAG
<style>{
@import url(https://use.fontawesome.com/releases/v5.6.3/css/all.css)`}</style>`
from notus-nextjs.
Tks, my case was some component which had import but should be used but not been used
And it is resolved in this case
from notus-nextjs.
Related Issues (15)
- [Bug] Auth0 Integration Doesn't Work HOT 1
- [Bug] Variants are not working. HOT 1
- [Feature Request] Add Ability to Close Popovers on Esc Key/Click Off Events HOT 1
- TableDropdown.js is a copy of NotificationDropdown.js HOT 1
- BUG @next/postcss HOT 1
- [Bug] @next/postcss HOT 1
- npm run dev error : ERR_PACKAGE_PATH_NOT_EXPORTED HOT 2
- [Bug] npm run dev error : ERR_PACKAGE_PATH_NOT_EXPORTED HOT 6
- [Bug] npm run dev error : ERR_PACKAGE_PATH_NOT_EXPORTED HOT 1
- Bug for build the project HOT 1
- npm Install Fail [Bug] HOT 1
- [Bug] Uncaught Runtime error HOT 1
- Need documentation on user authentication and authorization
- [Bug] npm install fails HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notus-nextjs.