Starting the Nuxt Learning Journey
Starting from Monday, I began learning Nuxt. As the upper-layer full-stack framework of the Vue technology stack, it can be said to be the final step of Vue. The emergence of Nuxt mainly addresses Vue's poor SEO for SPA websites and slow initial load times. Vue, as a single-page website dynamically rendered by JavaScript, makes it impossible for search engine crawlers to crawl the site's information, naturally making the site unsearchable. However, Vue's development speed is very fast. Based on this, Vue is suitable for building a website's backend or an XXX management system, because such websites do not need to be found by search engines.
Nuxt's Core Rendering Principle
Nuxt uses a hybrid rendering mode of SSR (Server-Side Render) and CSR (Client-Side Render), which compensates for Vue's poor SEO. Nuxt embeds a server engine called Nitro, enabling server-side rendering (somewhat reminiscent of old-school PHP). With each request, it first performs server-side rendering, returning a static web page structure for crawlers to crawl, and then renders on the client side, preserving the speed of a single-page application for request speed.
Difficulties Encountered in Learning Nuxt
However, I encountered many problems while learning Nuxt. First, there are very few courses on Nuxt4 in 2025. Although Nuxt4 seems to only change the project structure and remove some APIs that were planned to be deprecated in Nuxt3, I still wanted to learn the latest courses. Helplessly, I had to look for Nuxt3 courses. Most Nuxt3 courses are from 2023, and I didn't find any good free courses from training institutions like Heima and Shang Silicon Valley. Other free courses I watched felt low in quality. There were high-quality ones, but they used TypeScript. Having not learned TypeScript, I found them very difficult to follow.
Forced to Switch to Learning TypeScript
Since none of the videos met my expectations, I decided to directly tackle Nuxt's official documentation. Two days later, I completely regretted it. The pace was very slow, and many concepts were hard to understand (perhaps I've gotten used to learning programming by watching videos, making it difficult to read documentation). With no other choice, I was forced to start learning TypeScript.
TypeScript Learning Progress
There aren't many TypeScript videos on Bilibili, but fortunately, the quality is sufficient. Among them, the course on Vue3 + TypeScript was very appealing to me. (Perhaps I should have watched this when I first started learning Vue.) However, this course didn't fully cover TypeScript syntax, so I gave up on it. I then turned to Shang Silicon Valley's live replay TypeScript Syntax Quick Review. The video quality is high, and with a foundation in Java and JavaScript, understanding it is quite fast, but mastering it requires practice in projects. I still haven't covered TypeScript decorators. Keep going, keep going! After finishing, I'll directly learn Nuxt!
Comments
No comments yet. Say something?