7
头图

foreword

VuePress blog series is to build my first six series, the first five series are JavaScript depth series , JavaScript Series , series , ES6 series , the typescript series .

The VuePress blog building series has a total of 33 articles, explaining the whole process of using VuePress to build a blog, perform various optimizations, add various functions to the blog, and deploy to GitHub, Gitee, and personal server platforms.

The first article of this series will be released on December 13, 2021, and the last article will be released on March 10, 2022. Thank you for your favorites, likes, encouragements, and corrections.

By the way, let's promote the GitHub repository of this blog: https://github.com/mqyqingfeng/Blog , welcome to star, and encourage the author.

This article talks about why I wrote this series and some insights from writing this series.

cause

The reason why I started to write this series was because I was unintentional. After translating the official TypeScript manual, I suddenly thought of making a site, which may be more convenient for everyone to read, so I made such a site: TypeScript Chinese Document .

The reason why I choose to use VuePress is not because I am good at Vue, but I have never used Vue. The reason why I use VuePress is more because Vue has a wide audience, and people who use Vue style documents will feel more familiar.

When I was about to build this site, VuePress 2.x was still in beta, and VitePress also had a few applications. Considering that I wanted to build a site quickly, I chose VuePress because VitePress is not compatible with the current VuePress ecosystem. As for why I did not choose the beta version because many themes and plugins in the ecosystem have not been upgraded, so I used the most stable VuePress 1.x, so this series of articles is also written based on VuePress 1.x, such as individual function names and usage The method has changed in VuePress 2.x. If you are using VuePress 2.x, please pay attention.

At the beginning, I used GitHub Pages to build it. Because of GitHub's blocking reasons, I used Gitee Pages to build another copy. Later, I thought, why not build a domain name and server by myself, so I bought a domain name and server by myself. , and finally made this site.

I wrote and shared articles while I was doing it. At the beginning, I expected to write about 8 articles, but it turned out to be out of control. All kinds of things to do and research can be written separately. With the continuous optimization of the site, I will also write my own articles. In the end, as you can see, I wrote 33 articles. In fact, each article is a very small knowledge point, but together, it spans a lot of knowledge fields.

I hope the readers of this series can gain something, not only to build a successful website, but also to understand the principles of many things in the process, so that when dealing with similar problems, they can draw inferences from one case.

emotion

Perhaps my biggest feeling about updating this series of articles is that this kind of article is so easy to write...

The articles I usually write are of the principle type. To write an article, I often have to read through many articles and books, and then write it out according to my own ideas. However, for this kind of practical article, I record the problems encountered and write down the solutions. The way of the problem can be, one article a day is simply too simple...

Although I also hope to write a little in-depth, such as the source code of VuePress, the source code of the theme, the source code of markdown-it, and the source code of many plugins, I have read and parsed, but because I don't want to spend too much time on this. , after all, it's just an article written by hand. I spent a lot of time to study the principle, but I didn't do the business. I really picked up the sesame and missed the watermelon, so it's more of a general sort. Many times, the problem is solved, even if the solution is not elegant. Even if it is not perfect, it may be similar to many business classmates who only want to solve problems, but do not spend time optimizing the solution to problems.

From this, I also came to the conclusion based on my own personal experience: those authors who wrote daily updates must not write very good articles!

Of course, I also said this myself. I don’t have a lot of input, and I am outputting crazy. The articles I write are either simple and can be learned in a day, or they are downright hydrology. I wish I at least belonged to the former.

So don't admire the authors of the daily update. The chapters they write in the daily update must not be very good. In the process of the daily update, the level of the author can only guarantee the lower limit, but cannot raise the upper limit.

Of course, this is not to say that the quality of this series of articles is not good. After all, the author is me, but I personally feel that there is still room for optimization and improvement in many details, and I have written 33 articles. I think this may be the industry's concern about VuePress. Blog to build the most complete system tutorial.

In fact, in the process of updating this series of articles, many students followed the series of tutorials to create their own sites, and some students in my group shared and followed my article "A tutorial on how to deploy your blog to your own. Server" Deployed the vuepress blog in 1 hour, but when I was doing it by myself, it took a day to install it myself. In order to write this article, I reset the server, and it took another day to install and write. Although it is not like some authors polish an article in ten days and a half, but also write the article as perfect as possible within the scope of its ability.

full catalog

  1. An article that takes you to build a blog with VuePress + GitHub
  2. An article that teaches you how to synchronize code with GitHub and Gitee
  3. will not use GitHub Actions yet? Check out this
  4. How does Gitee automatically deploy Pages? Or use GitHub Actions!
  5. A front-end Linux command
  6. A simple and sufficient Nginx Location configuration explanation
  7. An article teaches you how to deploy your blog to your own server
  8. A detailed tutorial of domain name from purchase to filing to resolution
  9. How to set the last updated time of VuePress blog optimization
  10. VuePress blog optimization adds data statistics function
  11. VuePress blog optimization to open HTTPS
  12. VuePress blog optimization to open Gzip compression
  13. implements a VuePress plugin from scratch
  14. Extended Markdown syntax for VuePress blog optimization
  15. markdown-it principle analysis
  16. How to write markdown-it plugin (1)
  17. How to write markdown-it plugin (2)
  18. How to write markdown-it plugin (3)
  19. Sometimes I think I can't
  20. VuePress blog optimization Chinese anchor jump problem
  21. Build a VuePress blog, some plugins you may use
  22. How to enable local HTTPS access for VuePress blog
  23. VuePress blog optimization compatible with PWA
  24. VuePress blog optimization to open Algolia full-text
  25. VuePress blog optimization adds Valine comment function
  26. VuePress blog optimization adds Vssue comment function
  27. SEO Optimization of VuePress Blog (1) Sitemap and Search Engine
  28. SEO Optimization of VuePress Blog (2) Redirect
  29. SEO Optimization of VuePress Blog (3) Title and Link Optimization
  30. SEO Optimization of VuePress Blog (4) Open Graph protocol
  31. SEO Optimization of VuePress Blog (5) Add JSON-LD Data
  32. SEO Optimization of VuePress Blog (6) Webmaster Tools
  33. 10 optimizations you must do to build a VuePress

next notice

It was originally expected to return to the writing of the TypeScript series after updating the blog building series.

The TypeScript series is a series of articles composed of three parts: official document translation, difficult analysis, practical skills and summary. The whole series is expected to be about 40 articles. At present, the translation of the official document Handbooks has been completed, and the next step is to write the difficult analysis part.

But the time is gold, silver and silver, and my classmates in my readership often discuss interview-related content, so I want to organize interview-related content and write a front-end interview manual in March to help more classmate.

But instead of explaining individual front-end interview questions, I think that for interviews, long preparation before interviews, writing resumes, looking for companies, looking for referrals, interviewing skills are all important, and these aspects. Many people are too inexperienced and have no awareness of learning and optimization, so I want to write a complete series of articles from technical preparation, to resumes, to finding companies, to interview skills, and to talk about the Tao and the law, rather than being obsessed. equipment and specific interview questions.

Thank you for your reading and support, I am Yu Yu, see you in the next series! []~( ̄▽ ̄)~**


冴羽
9.3k 声望6.3k 粉丝

17 年开始写前端文章,至今 6 个系列,上百篇文章,全网千万阅读