biaochenxuying / blog-vue-typescript Goto Github PK
View Code? Open in Web Editor NEWVue3 + TypeScript + Vite2 + Vuex4 + Vue-Router4 + element-plus 支持 markdown 渲染的博客前台展示
Home Page: https://github.com/biaochenxuying/blog
Vue3 + TypeScript + Vite2 + Vuex4 + Vue-Router4 + element-plus 支持 markdown 渲染的博客前台展示
Home Page: https://github.com/biaochenxuying/blog
在PC端,点击登录或者注册时都会出现头部整体向右移动(抖动)
node_modules/@vue/compiler-core/dist/compiler-core.d.ts:8:30 - error TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
8 import type { Program } from '@babel/types';
这个项目后端用java自己做权限管理,前端在哪调接口呢,没看懂前端
'/node_modules/.vite/vue.js?v=' does not provide an export named 'createElementBlock'
请问一下樱花效果是已有库还是自己写的
when I run npm install,it throwing a error by could not resolve dependency!
it seems like vite's version problem
这二个地方都报错
articles.vue
@component({
components: {
LoadEnd,
LoadingCustom
}
})
articleDetail.vue
@component({
components: {
LoadingCustom,
CommentList
}
})
RT
当将文章列表滚动到底部临界点时会无限加载请求,实际列表已经全部加载完
main.ts里看到 说明了 Component.registerHooks 无效,试了把该处代码放到 App.vue 里进行注册。router 钩子函数生效了。
// App.vue
<script lang="ts">
import { Route } from 'vue-router'
import { Component, Vue, Watch } from 'vue-property-decorator'
Component.registerHooks([
'beforeRouteEnter',
'beforeRouteLeave',
'beforeRouteUpdate' // for vue-router 2.2+
])
@Component
export default class App extends Vue {
// ...
}
开发者你好,我看到你项目的文档好像都写在博客了,但是博客我点不进去,希望能修一下。或者能发一下这个项目的api文档吗,不是很懂vue,但挺喜欢你这个博客模板的,想自己写一下后端对接
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.