surmon-china / surmon.me Goto Github PK
View Code? Open in Web Editor NEW🌱 My digital garden, powered by myself.
Home Page: https://surmon.me
License: MIT License
🌱 My digital garden, powered by myself.
Home Page: https://surmon.me
License: MIT License
这个是纯前端界面吗?会有登录注册发布博客吗?
npm i 之后
✔ Linked 0 latest versions
✔ Installed 34 packages
✔ Linked 0 latest versions
✔ Installed 34 packages
✔ Linked 0 latest versions
✔ Installed 34 packages
✔ Linked 0 latest versions
✔ Installed 34 packages
✔ Linked 0 latest versions
✔ Installed 34 packages
✔ Linked 0 latest versions
✔ Installed 34 packages
✔ Linked 0 latest versions
✔ Installed 34 packages
✔ Linked 0 latest versions
这里一直在重复出现,停不下来。。。
然后强行停止,启动后报如下错误(大神求解)
➜ surmon.me-master npm run dev
[email protected] dev /Users/ganlinzhen/Desktop/08-vue项目/surmon大神的博客/surmon.me-master
node server.js
/Users/ganlinzhen/Desktop/08-vue项目/surmon大神的博客/surmon.me-master/node_modules/_nuxt@1.4.0@nuxt/lib/core/module.js:14
async ready() {
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/Users/ganlinzhen/Desktop/08-vue项目/surmon大神的博客/surmon.me-master/node_modules/_nuxt@1.4.0@nuxt/lib/core/index.js:2:16)
npm ERR! Darwin 17.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] dev: node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script 'node server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the surmon.me package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs surmon.me
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls surmon.me
npm ERR! There is likely additional logging output above.
publicPath: apiConfig.cdnUrl + '/_nuxt/',
想问下 cdn配置这块。。
css文件我放在 /assets/css/reset.css 。
1 在 nuxt.config.js的css 引入,发现是内部样式
2 使用 /reset.css可以全局引入外部css文件,但是这是放在static目录中的,
现在需求是:
1 reset.css作为外部css引入
2 引入的是/assets/css/reset.css
我该如何设置呢?
怎么把style标签合并为一个?
访问页面的服务器经常挂。下载了源码,按步骤安装,运行不起来,我安装了python2.7的,请大佬指点一下,谢谢!
比如有一个页面我我的路劲上只给了id,我要根据id区回去一个link,在根据link区获取其他东西,这样就有了依赖调用,在nuxtServerInit里面用正常ajax的resolve后再用then调用下一个ajax,return出来的是new Promise对象,后面那个api的诗句始终没有随着data回来,蛋疼,请教一下这样的需求在nuxtServerInit里面该怎么写
大佬能不能 整一套安装流程详细点 哈哈哈哈哈
E:\testDemo\surmon.me>npm run dev
> [email protected] dev E:\testDemo\surmon.me
> node server.js
Nuxt.js SSR Server listening on 127.0.0.1:3000, at 2018-1-16 09:27:19
████████████████████ 100%
Build completed in 9.311s
ERROR Failed to compile with 33 errors 09:27:30
error in ./components/layout/emoji-rain.vue
Module build failed:
:class="{ active: emoji233333 && emoji233333.kichikuing }">
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\layout\emoji-rain.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-1051f475","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/layout/emoji-rain.vue 4:14-741 13:3-17:5 14:22-749
@ ./components/layout/emoji-rain.vue
@ ./components/layout/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/mobile/header.vue
Module build failed:
:class="{ actived: search }"
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\mobile\header.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-f6663462","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/mobile/header.vue 4:14-737 13:3-17:5 14:22-745
@ ./components/mobile/header.vue
@ ./components/mobile/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/layout/webrtc.vue
Module build failed:
:class="[ aligenLeft ? 'aligenLeft' : '' ]">
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\layout\webrtc.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-70bd1b72","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/layout/webrtc.vue 4:14-737 13:3-17:5 14:22-745
@ ./components/layout/webrtc.vue
@ ./components/layout/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./pages/app.vue
Module build failed:
:class="{ mobile: mobileLayout }">
^
File to import not found or unreadable: ..
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\pages\app.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-b2cd582a","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./pages/app.vue 4:14-719 13:3-17:5 14:22-727
@ ./pages/app.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/layout/share.vue
Module build failed:
<a title="微信"
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\layout\share.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-5418ef15","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/layout/share.vue 4:14-736 13:3-17:5 14:22-744
@ ./components/layout/share.vue
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./pages/article/_article_id.vue
@ ./pages/article/_article_id.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./pages/music.vue
Module build failed:
<button class="prev-song" @click="prevSong" :disabled="!playerState.ready">
^
File to import not found or unreadable: ..
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\pages\music.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-6264016f","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./pages/music.vue 4:14-721 13:3-17:5 14:22-729
@ ./pages/music.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./pages/sitemap.vue
Module build failed:
<div class="articles">
^
File to import not found or unreadable: ..
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\pages\sitemap.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-80b61902","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./pages/sitemap.vue 4:14-723 13:3-17:5 14:22-731
@ ./pages/sitemap.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/mobile/aside.vue
Module build failed:
<div class="avatar">
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\mobile\aside.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-4f9da134","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/mobile/aside.vue 4:14-736 13:3-17:5 14:22-744
@ ./components/mobile/aside.vue
@ ./components/mobile/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./pages/service.vue
Module build failed:
<div class="banner">
^
File to import not found or unreadable: ..
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\pages\service.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-49bfe502","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./pages/service.vue 4:14-723 13:3-17:5 14:22-731
@ ./pages/service.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/layout/barrage.vue
Module build failed:
<div class="barrage-box" ref="barrageBox">
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\layout\barrage.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-f4e2a5d4","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/layout/barrage.vue 4:14-738 13:3-17:5 14:22-746
@ ./components/layout/barrage.vue
@ ./components/layout/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./pages/about.vue
Module build failed:
<div class="content">
^
File to import not found or unreadable: ..
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\pages\about.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-096d7a52","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./pages/about.vue 4:14-721 13:3-17:5 14:22-729
@ ./pages/about.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./pages/guestbook.vue
Module build failed:
<div class="content">
^
File to import not found or unreadable: ..
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\pages\guestbook.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-2be58dea","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./pages/guestbook.vue 4:14-725 13:3-17:5 14:22-733
@ ./pages/guestbook.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/layout/footer.vue
Module build failed:
<div class="footer-content">
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\layout\footer.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-1e389b56","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/layout/footer.vue 4:14-737 13:3-17:5 14:22-745
@ ./components/layout/footer.vue
@ ./components/layout/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/mobile/footer.vue
Module build failed:
<div class="footer-content">©{{ new Date().getFullYear() }} Surmon.me</div>
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\mobile\footer.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-639a81dd","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/mobile/footer.vue 4:14-737 13:3-17:5 14:22-745
@ ./components/mobile/footer.vue
@ ./components/mobile/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/article/archive/item.vue
Module build failed:
<div class="item-thumb" v-if="!mobileLayout">
^
File to import not found or unreadable: ......
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\article\archive\item.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-528f430a","scoped":false,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/article/archive/item.vue 4:14-751 13:3-17:5 14:22-759
@ ./components/article/archive/item.vue
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./components/article/archive/list.vue
@ ./components/article/archive/list.vue
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./pages/search/_keyword.vue
@ ./pages/search/_keyword.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/common/vue-loading/loading.vue
Module build failed:
<div class="la-ball-beat">
^
File to import not found or unreadable: ......
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\common\vue-loading\loading.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-658d07cc","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/common/vue-loading/loading.vue 4:14-753 13:3-17:5 14:22-761
@ ./components/common/vue-loading/loading.vue
@ ./components/common/vue-loading/index.js
@ ./plugins/vue-loading.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/layout/header.vue
Module build failed:
<div class="navbar-container container">
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\layout\header.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-12161647","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/layout/header.vue 4:14-737 13:3-17:5 14:22-745
@ ./components/layout/header.vue
@ ./components/layout/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/layout/aside.vue
Module build failed:
<div class="search-box">
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\layout\aside.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-2577e024","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/layout/aside.vue 4:14-736 13:3-17:5 14:22-744
@ ./components/layout/aside.vue
@ ./components/layout/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/layout/tool.vue
Module build failed:
<div class="tools-list">
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\layout\tool.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-174abf5c","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/layout/tool.vue 4:14-735 13:3-17:5 14:22-743
@ ./components/layout/tool.vue
@ ./components/layout/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/common/vue-comment/comment.vue
Module build failed:
<div class="total">
^
File to import not found or unreadable: ......
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\common\vue-comment\comment.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-21143c12","scoped":false,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/common/vue-comment/comment.vue 4:14-754 13:3-17:5 14:22-762
@ ./components/common/vue-comment/comment.vue
@ ./components/common/vue-comment/index.js
@ ./plugins/vue-comment.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/article/archive/carrousel.vue
Module build failed:
<empty-box class="article-empty-box" v-if="!article.data.data.length">
^
File to import not found or unreadable: ......
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\article\archive\carrousel.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-498708c4","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/article/archive/carrousel.vue 4:14-755 13:3-17:5 14:22-763
@ ./components/article/archive/carrousel.vue
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./pages/tag/_tag_slug.vue
@ ./pages/tag/_tag_slug.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./layouts/error.vue
Module build failed:
<h1 class="error-code">{{ error.statusCode }}</h1>
^
File to import not found or unreadable: ..
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\layouts\error.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-f418cc52","scoped":false,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./layouts/error.vue 4:14-722 13:3-17:5 14:22-730
@ ./layouts/error.vue
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./pages/article/_article_id.vue
Module build failed:
<h2 class="title">{{ article.title || '...' }}</h2>
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\pages\article\_article_id.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-064f5087","scoped":false,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./pages/article/_article_id.vue 4:14-743 13:3-17:5 14:22-751
@ ./pages/article/_article_id.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/article/archive/announcement.vue
Module build failed:
<i class="iconfont icon-clock-stroke"></i>
^
File to import not found or unreadable: ......
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\article\archive\announcement.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-6758b2a2","scoped":false,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/article/archive/announcement.vue 4:14-759 13:3-17:5 14:22-767
@ ./components/article/archive/announcement.vue
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./pages/index.vue
@ ./pages/index.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./pages/project.vue
Module build failed:
<li class="item"
^
File to import not found or unreadable: ..
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\pages\project.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-160bbfe3","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./pages/project.vue 4:14-723 13:3-17:5 14:22-731
@ ./pages/project.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./layouts/default.vue
Module build failed:
<mobile-aside :class="{ open: mobileSidebar }"></mobile-aside>
^
File to import not found or unreadable: ..
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\layouts\default.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-419267d0","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./layouts/default.vue 4:14-723 13:3-17:5 14:22-731
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/layout/nav.vue
Module build failed:
<nuxt-link :to="'/'" class="item" exact>
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\layout\nav.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-580975d9","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/layout/nav.vue 4:14-734 13:3-17:5 14:22-742
@ ./components/layout/nav.vue
@ ./components/layout/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/article/archive/header.vue
Module build failed:
<transition name="module" mode="out-in">
^
File to import not found or unreadable: ......
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\article\archive\header.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-47b424f5","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/article/archive/header.vue 4:14-752 13:3-17:5 14:22-760
@ ./components/article/archive/header.vue
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./components/article/archive/list.vue
@ ./components/article/archive/list.vue
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./pages/search/_keyword.vue
@ ./pages/search/_keyword.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/article/archive/list.vue
Module build failed:
<!-- 列表头 -->
^
File to import not found or unreadable: ......
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\article\archive\list.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-3e8452f4","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/article/archive/list.vue 4:14-750 13:3-17:5 14:22-758
@ ./components/article/archive/list.vue
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./pages/search/_keyword.vue
@ ./pages/search/_keyword.vue
@ ./.nuxt/router.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/layout/face-ctracker.vue
Module build failed:
<canvas ref="videoCanvas" :width="width" :height="height" v-if="mode === 1"></canvas>
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\layout\face-ctracker.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-60cd35ca","scoped":false,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/layout/face-ctracker.vue 4:14-745 13:3-17:5 14:22-753
@ ./components/layout/face-ctracker.vue
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./components/layout/webrtc.vue
@ ./components/layout/webrtc.vue
@ ./components/layout/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/layout/calendar.vue
Module build failed:
<div class="months">
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\layout\calendar.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-d165e410","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/layout/calendar.vue 4:14-739 13:3-17:5 14:22-747
@ ./components/layout/calendar.vue
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./components/layout/aside.vue
@ ./components/layout/aside.vue
@ ./components/layout/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/layout/background.vue
Module build failed:
<div id="particles-background" class="background-canvas"></div>
^
File to import not found or unreadable: ....
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\layout\background.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-7558af68","scoped":true,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/layout/background.vue 4:14-741 13:3-17:5 14:22-749
@ ./components/layout/background.vue
@ ./components/layout/index.js
@ ./node_modules/[email protected]@babel-loader/lib?{"babelrc":false,"cacheDirectory":true,"presets":["es2015","stage-2"],"plugins":["transform-async-to-generator","transform-runtime"],"comments":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./layouts/default.vue
@ ./layouts/default.vue
@ ./.nuxt/App.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
error in ./components/common/vue-empty/empty.vue
Module build failed:
</div>
^
File to import not found or unreadable: ......
ssetssassvariables.scss.
Parent style sheet: stdin
in E:\testDemo\surmon.me\components\common\vue-empty\empty.vue (line 4, column 1)
@ ./node_modules/[email protected]@vue-style-loader?{"sourceMap":true}!./node_modules/[email protected]@css-loader?{"sourceMap":true,"minimize":false,"importLoaders":2,"alias":{"/static":"E://testDemo//surmon.me//static","/assets":"E://testDemo//surmon.me//assets"}}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-0baca22e","scoped":false,"hasInlineConfig":true}!./node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@style-resources-loader/lib?{"patterns":["./assets/sass/init.scss"]}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./components/common/vue-empty/empty.vue 4:14-752 13:3-17:5 14:22-760
@ ./components/common/vue-empty/empty.vue
@ ./components/common/vue-empty/index.js
@ ./plugins/vue-empty.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
讲道理
:class="{ active: emoji233333 && emoji233333.kichikuing }">
没什么语法问题呀,,,,,求大佬解惑
自己做了nuxt的尝试,但是部署到服务器有些不解,生成好的.nuxt直接到服务端运行吗?部署步骤是...
老哥,https://surmon.me
好像不能访问了,DNS有问题?pc端直接访问http的话,会打开移动端的界面(没有改ua),不只是我这边的问题还是什么?
nuxt自带的 就可以吧 哪里不好吗?没用个 打算尝试nuxt
看了你的文章 https://surmon.me/article/48
请教下
我用pm2 cluster Mode启动,iMac i5 4核cpu,最大内存--max-memory-restart 1000M
本机用 https://github.com/mcollina/autocannon 压力测试
autocannon -c 100 -d 5 -p 10 -l http://127.0.0.1:3000 正常运转
620 requests in 5s, 5.92 MB read
大于此参数 宕机,需要1次以上pm2 reload
另外问下 surmon.me的ecosystem.config 在哪,想参考下
按照你的nuxt.config.js 里的cache设置我改成了
//['@nuxtjs/component-cache', { max: 10000,maxAge: 1000 * 60 * 60 }]
['@nuxtjs/component-cache', { maxAge: 1000 * 60 * 15,max: 100 }]
有一点改善
我是后端学习前端,vue,angular什么的学的比较快,但是一到设计这里就卡住了,用Bootstrap做界面也做不好看。sass和stylus这些语法都会就是这么都写不好看。大神你的博客界面是预先使用sketch这类设计好然后在照着图写css,还是直接手写?
如果你是直接边写边看效果的,当我没说^^
data文件夹缺少barrages.json文件!!!
(function(doc, win) {
var docEl = doc.documentElement,
resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
recalc = function() {
var clientWidth = docEl.clientWidth;
if (!clientWidth) return;
docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';
};
if (!doc.addEventListener) return;
win.addEventListener(resizeEvt, recalc, false);
doc.addEventListener('DOMContentLoaded', recalc, false);
})(document, window);
我想把这个文件引入到default.vue或者index.vue都不行,该怎么引入这个呢,大神求指教
一开始python一直安装不下来,后面查看已经安装下来了,把python依赖注释的装完了,npm run dev 报下面的错误
`
module.js:557
throw err;
^
Error: Cannot find module '../data/barrages.json'
at Function.Module._resolveFilename (module.js:555:15)
at Function.Module._load (module.js:482:25)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object. (/Users/huangzr/www/nuxt-blog/servers/barrage.server.js:9:18)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object. (/Users/huangzr/www/nuxt-blog/server.js:29:23)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
`
[[email protected]] scripts.install: "cnpm i --python=python2.7 --save" at /vue/surmon.me
安装不下去了,一直抖动
:)
代码部署好以后,打开文章页面有时候需要刷新才显示内容,不知道为何。
点赞和评论提示失败 ,但是刷新会显示
{
code: 1,
message: "爱你么么扎",
result: null
}
{
code: 1,
message: "评论发布成功",
result: ...
}
文章提交后没有做XSS攻击,可以在文章中添加JavaScript代码,不过个人博客也无关紧要。(很多种解决办法,例如js-xss)
后台的提示信息不会自动消失
演示地址:戳这里
注:NodeJs v- 8.2.1
最后说下,我正准备写这样一个博客,今天刚建好仓库,就发现了你的项目,话说这个项目写了多久。
I have a problem about dynamic switching layout, Could you give me some ideas? I think give a variables to layout,I have geted a value of variables, but when I give this variables, I will get a error'themeFlag is not defined'.Here's my code:
export default{
computed: mapGetters({
themeFlag:'menu/themeToggle'
}),
layout: this.themeFlag ? 'vertical':'horizontal'
}
translation:我现在有一需求想要点击某一按钮来动态切换页面布局,我是这样做的,给layout赋一变量,按钮来控制变量的值,现在这个变量值可以获取到,但是赋给layout时却报错说它未定义。您能提示一下我哪里不对么?谢谢。
最近在做的项目就是类似要实现加载更多的功能,但是点击加载更多的时候,我只能通过跳页来实现。这样的话,网页源代码才能有最新的数据。不然总是只显示第一页的数据。不知道这个是不是很蠢!困扰了好久,也找了很多demo,但都是分页请求的。刚刚看了下你的感觉和我的需求比较相符吧,所以想问你一下。望回复。
大佬您好,关注您博客很久了,近期也有个自己想写个博客的想法,卡在了侧边栏aside的数据渲染上面,看到您的博客上面侧边栏的数据是可以渲染到html代码里的,而我的却只在js中,蜘蛛抓取不到。想请教一下您的思路或者实现方法,但愿大佬能不吝赐教。谢谢您
用Meting吧,之前也是用旧的接口,最近网易删掉了mp3的url,但是新接口可以单独获取某首歌
https://github.com/metowolf/Meting
I use Django for backend instead of ExpressJs. How can I fixed code in api.config.js? I Fixed: localhost:8000, it come error: EventSource failed loading: GET "http://localhost:3000/__webpack_hmr". in Console Log. Please help me
// 获取文章详情 loadArticleDetail({ commit }, params = {}) { commit('article/REQUEST_DETAIL') return this.$axios.$get(
${API_PREFIX}/article/${params.article_id}) .then(response => { const data = getResData(response) if (resIsSuccess(response)) { commit('article/GET_DETAIL_SUCCESS', data) return Promise.resolve(data) } else { commit('article/GET_DETAIL_FAILURE') return Promise.reject(response) } }) .catch(err => { commit('article/GET_DETAIL_FAILURE', err) return Promise.reject(err) }) },
每一个方法前都有一个commit 这个是干嘛的?表示不懂,能解释下不?
审查元素发现没有发送ajax请求
运行 nodepress项目,我已经去全局安装了 nodemon,报了个错,
[email protected] dev D:\Vue\nodepress
nodemon --exec "NODE_ENV=development node --harmony index.js"
[nodemon] 1.11.0
[nodemon] to restart at any time, enter rs
[nodemon] watching: .
[nodemon] starting NODE_ENV=development node --harmony index.js
'NODE_ENV' ▒▒▒▒▒ڲ▒▒▒▒ⲿ▒▒▒Ҳ▒▒▒ǿ▒▒▒▒еij▒▒▒
▒▒▒▒▒▒▒▒▒ļ▒▒▒
[nodemon] app crashed - waiting for file changes before starting...
确实看不懂什么意思,还望大神赐教。
hi,集才华与美貌于一身的美男子:
我尝试着去本地create一个nuxt项目,然后打算把项目跑一便,发现ssr效果不是很明显,查看源代码,页面上的内容不多,是我没有太多内容导致的吗,我看大佬你的首页内容特别多,SEO效果会很好,而刚create的nuxt项目 执行build 和 start之后,页面上的东西就很少了,请教 下大佬,给美男子端茶倒水
您更新之后可以运行了,最开始报了个错,缺少一个loading.vue 组件,目录 components\common\vue-loading,我手动在这个目录下添加一个loading.vue 组件就可以运行了,也不报错了。就是没有数据了。我刚开始接触 nuxt的时候发现 在获取数据的时候用vue.js 的写法是获取不到数据的,报 this is undefine。只有用nuxt提供的 async data(){} 这个才可以获取。可是如果一个页面要获取多个接口的数据就无法操作,而且在components里的组件也获取不到数据,大神可以指导下怎么通过axios获取数据进行相关的操作吗?谢谢。
run dev 就报错,不造如何解决,求指导,谢谢
/mnt/e/FE/surmon.me/node_modules/vue-server-renderer/index.js:8
throw new Error(
^
Error:
Vue packages version mismatch:
This may cause things to work incorrectly. Make sure to use the same version for both.
at Object.<anonymous> (/mnt/e/FE/surmon.me/node_modules/vue-server-renderer/index.js:8:9)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Module.require (module.js:568:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/mnt/e/FE/surmon.me/node_modules/nuxt/dist/nuxt.js:28:25)
at Module._compile (module.js:624:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/zchao/.npm/_logs/2017-11-24T03_35_19_160Z-debug.log
<!DOCTYPE html>
<html>
<head>
<title>hello</title>
</head>
<body>
<div id="_nuxt">
<div id="_layout">hello world</div>
</div>
</body>
</html>
例如nuxt生成了这样的页面
其中的 id="_nuxt" id="_layouts"
可以更改成自己想要的吗 如 id="page-container"
请问你是如何实现国际化的?看你示例代码注释掉了。问题点在如何实现router跳转的时候携带上一级页面的语言类型
store/index.js
`export const state = {
a: 0
}
export const mutations = {
add (state) {
state.a++
}
}`
npm run dev 后提示:
Error: [nuxt] state should be a function in store/index.js
at getModule (.nuxt/store.js:56:10)
at Object.module.exports.Object.defineProperty.value (.nuxt/store.js:16:14)
at webpack_require (webpack:/webpack/bootstrap 5c18ee9214ff34ee6da8:25:0)
at Object. (server-bundle.js:969:68)
at webpack_require (webpack:/webpack/bootstrap 5c18ee9214ff34ee6da8:25:0)
at Object. (server-bundle.js:1348:65)
at webpack_require (webpack:/webpack/bootstrap 5c18ee9214ff34ee6da8:25:0)
at server-bundle.js:95:18
at Object. (server-bundle.js:98:10)
at evaluateModule (D:\ssr\ssr\node_modules._vue-server-renderer@2.3.4@vue-server-renderer\build.js:5820:21)
at D:\ssr\ssr\node_modules._vue-server-renderer@2.3.4@vue-server-renderer\build.js:5878:18
at Promise ()
at D:\ssr\ssr\node_modules._vue-server-renderer@2.3.4@vue-server-renderer\build.js:5870:14
at Nuxt.renderToString (D:\ssr\ssr\node_modules._vue-server-renderer@2.3.4@vue-server-renderer\build.js:6022:9)
at P (D:\ssr\ssr\node_modules._pify@3.0.0@pify\index.js:49:6)
at Promise ()
请问使用状态树的模块化方式,是否需要配置其他地方呢?
一直在网上找demo,只有你的使用了这个模块化方式,我自己测试也不ok!
求教!
// 禁止多余的冒号
"no-extra-semi": 2,
这个应该是禁止多余的分号.
看大佬的项目学到了很多 ~^o^~
windows下,启动成功后,打开404
我现在也在做评论,目前,假设评论有多页的话,如果当前不是最后一页,那么发表评论后会在当前页尾部插入评论,感觉这不合常识,除了倒序排列评论外,有什么其他的好的方法吗?
[nodemon] 1.12.1 [nodemon] to restart at any time, enter
rs[nodemon] watching: *.* [nodemon] starting
node server.js[nodemon] Internal watch failed: watch /home/chen/myblog/surmon.me-master ENOSPC npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] dev:
nodemon --exec node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
╭─────────────────────────────────────╮
│ │
│ Update available 5.3.0 → 5.4.2 │
│ Run npm i -g npm to update │
│ │
╰─────────────────────────────────────╯
npm ERR! A complete log of this run can be found in:
npm ERR! /home/chen/.npm/_logs/2017-10-11T14_20_51_333Z-debug.log
chen@chen:~/myblog/surmon.me-master$ Nuxt.js SSR Server listening on 127.0.0.1:3000, at 2017-10-11 22:20:52
build [== ] 10%Error: watch /home/chen/myblog/surmon.me-master/layouts ENOSPC
`
运行时报错,Cannot find module 'idle-gc',请问要怎么解决
#运行的环境(Use environment)
× Install fail! Error: post install error, please remove node_modules before retry!
Run "C:\Windows\system32\cmd.exe /d /s /c cnpm i --python=python2.7 --save" error, exit code 1
Error: post install error, please remove node_modules before retry!
Run "C:\Windows\system32\cmd.exe /d /s /c cnpm i --python=python2.7 --save" error, exit code 1
at ChildProcess.proc.on.code (C:\Users\Administrator\AppData\Roaming\npm\node_modules\cnpm\node_modules\runscript\index.js:74:21)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
npminstall version: 3.2.1
npminstall args: C:\Program Files\nodejs\node.exe C:\Users\Administrator\AppData\Roaming\npm\node_modules\cnpm\node_modules\npminstall\bin\install.js --china --proxy=http://127.0.0.1:1080 --userconfig=C:\Users\Administrator\.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=http://registry.npm.taobao.org --python=python2.7 --save
#怎么解决(How to solve)?
大神,想请教你怎么实现在IE9下route模式依然是history?
在此
8月的第一周没了,不知是故意设置的还是?
Why don't you use VueX for store?
I copied the markdown display of your code, but my code highlighting did not work. Do you know the reason? I am looking forward to your reply.
nuxt.config.js
plugins: [
{ src: '~/plugins/marked.js' },
{ src: '~/plugins/highlight.js' },
],
css: [
'~assets/iconfont/iconfont.css',
'highlight.js/styles/ocean.css',
]
and directly copy your highlight.js file and marked.js file. in the test.vue ,the following,
<template>
<div>
<div v-html="markedContent(announcement.content)"></div>
</div>
</template>
import marked from '~/plugins/marked'
export default {
data(){
return {
announcement: {
title: 'markdown test',
content: '# Marked in browser\n\nRendered by **marked**.\n\n```c↵int main(void) {↵ int a = strlen("Hello world"); // 字符串的长度是 11↵ return 0;↵}↵```'
}
}
},
methods: {
markedContent(content) {
return marked(content, null, true)
}
}
}
<template>
<section class="container">
<img src="~assets/img/logo.png" alt="Nuxt.js Logo" class="logo" />
<h1 class="title" @click="log">
USERS1
</h1>
<ul class="users">
<li v-for="(user, index) in users" :key="index" class="user">
<nuxt-link :to="{ name: 'id', params: { id: index }}">
{{ user.name }}
</nuxt-link>
</li>
</ul>
</section>
</template>
<script>
import axios from '~/plugins/axios'
export default {
async asyncData () {
let { data } = await axios.get('/api/users')
return { users: data }
},
head () {
return {
title: 'Users'
}
},
methods: {
log () {
console.log('111112222')
}
}
}
</script>
这是我的代码 能帮我看一下吗?有一个点击事件不知道为什么我的触发不了
nuxt怎么解决本地开发跨域问题呢?
手机iPhone6访问,上下滑动出现卡顿现象。请问一下作者是什么原因呢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.