Comments (4)
我目前的博客是基于github pages的,不是用我写的这套系统了哦。
你写的转跳,是不是没有用路由组件来替换a链接
from cms-front.
那你的意思是github上的代码实现的不是对应你现在的博客是么?
@k55k32 用了的
component/list.vue
加载更多
from cms-front.
@k55k32 刚刚本地npm run dev你的项目的时候 抛错了诶
vue.runtime.esm.js:587 [Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside
, or missing . Bailing hydration and performing full client-side render.
warn @ vue.runtime.esm.js:587
patch @ vue.runtime.esm.js:6107
Vue._update @ vue.runtime.esm.js:2656
updateComponent @ vue.runtime.esm.js:2784
get @ vue.runtime.esm.js:3138
Watcher @ vue.runtime.esm.js:3127
mountComponent @ vue.runtime.esm.js:2791
0.Vue.$mount @ vue.runtime.esm.js:7995
init @ vue.runtime.esm.js:4133
hydrate @ vue.runtime.esm.js:5988
hydrate @ vue.runtime.esm.js:6021
patch @ vue.runtime.esm.js:6103
Vue._update @ vue.runtime.esm.js:2656
updateComponent @ vue.runtime.esm.js:2784
get @ vue.runtime.esm.js:3138
Watcher @ vue.runtime.esm.js:3127
mountComponent @ vue.runtime.esm.js:2791
0.Vue.$mount @ vue.runtime.esm.js:7995
mountApp @ client.js:348
(anonymous) @ client.js:375
Promise.then (async)
options.path @ client.js:346
webpack_require @ bootstrap 441715e7ff73b034b602:693
fn @ bootstrap 441715e7ff73b034b602:114
(anonymous) @ nuxt.bundle.js:7973
webpack_require @ bootstrap 441715e7ff73b034b602:693
webpackJsonpCallback @ bootstrap 441715e7ff73b034b602:25
(anonymous) @ nuxt.bundle.js:1
client.js:395 [nuxt.js] Cannot load components TypeError: Cannot read property 'toLowerCase' of undefined
at emptyNodeAt (vue.runtime.esm.js:5493)
这是怎么了呀
from cms-front.
对 我已经不用我自己写的这个博客了,那个服务器停了,所以迁移了
你这个错误是说服务端和客户端的虚拟dom树不一致,应该是你在哪里错误的使用了 v-if 导致的。
做SSR尽量不要用 v-if ,可以用v-show代替
from cms-front.
Related Issues (20)
- article pagesize component
- article-detail h2 to menu hash#
- add userAgent in pageview
- article-search
- test the memory out
- https support
- comment notice to email
- article-detail QRCode
- RSS support
- sencond level, third level title router
- reply commit show
- github auth2
- css分离的问题 HOT 2
- 运行报500的错误
- 请问你的vue-router是如何设置的,我看nuxt的router虽然到了组件切割但是第一次打开会加载所有的js,但你的博客是按需加载的 HOT 2
- 请问Nuxt.js项目服务端渲染如何调试呢?
- Can't use asyncData to get Data before a slot is initialized
- 用GITHUB PAGES 如何做到独立域名https的 ? HOT 2
- node做中间件,用来封装后端API,然后提供接口给nuxt使用。关键代码在service目录下么
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 cms-front.