当我尝试使用nuxt运行generate脚本时,我的节点进程将挂起。
Nuxt通过generate步骤,但是挂起我的控制台,上面写着"Generate汇总“,然后什么都没有。
nuxt:render Rendering url / +5s
nuxt: Call generate:done hooks (1) +13ms
nuxt:generate HTML Files generated in 46.1s +14ms
Generate errors summary:以前有人遇到过这种情况吗?
Package.json:
"dependencies": {
"contentful": "^6.1.1",
"contentful-management": "^5.1.4",
"nuxt": "^1.4.0",
"vue-markdown": "^2.2.4"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
"eslint": "^3.15.0",
"eslint-config-standard": "^6.2.1",
"eslint-loader": "^1.6.1",
"eslint-plugin-html": "^2.0.0",
"eslint-plugin-promise": "^3.4.1",
"eslint-plugin-standard": "^2.0.1"
}发布于 2018-07-13 18:46:21
没有CSS加载器,添加了一个,一切都正常。
来自文档
Nuxt.js will automatically guess the file type by it's extension and use the
appropriate pre-processor loader for webpack. You will still need to install
the required loader if you need to use them.https://stackoverflow.com/questions/51273108
复制相似问题