8 next.js
我确实做到了npx create-next-app,,,并且它已经消除了错误cd appfolder:npm run dev
(node:7636) [DEP_WEBPACK_MODULE_ISSUER] DeprecationWarning: Module.issuer: Use new ModuleGraph API
(Use `node --trace-deprecation ...` to show where the warning was created)
error - ./styles/globals.css
Global CSS cannot be imported from files other than your Custom <App>. Due to the Global nature of stylesheets, and to avoid conflicts, Please move all first-party global CSS imports to pages/_app.js. Or convert the import to Component-Level CSS (CSS Modules).
Read more: https://nextjs.org/docs/messages/css-global
Location: pages\_app.js
Run Code Online (Sandbox Code Playgroud)
模块列表:
节点-v = v14.17.5
| 归档时间: |
|
| 查看次数: |
7794 次 |
| 最近记录: |