This repository is a starter template to build a static website with the BlogiNote theme.
You can follow the steps listed below, or check out ✨ this tutorial for more details about how to use this template step-by-step.
这个仓库是一个使用 BlogiNote 主题的初始化模板。
你可以跟随以下步骤操作,或者查看 ✨ 这一篇教程来了解如何一步一步地使用该模板。
-
clone this template, or download this project to your PC
-
run the command in terminal to install dependent packages
yarn install💡 you should install Node.js first, and add the yarn (a package manager) globally in your local PC.
run the command in terminal to start a development server
yarn devWait a seconds you will see some output in the terminal, like Local: https://localhost:3000 Then you can visit this url at your browser to preview the web page.
You can start to write some articles by creating some markdown files inside the 📁 /content/article folder.
✨ You can refer to the example article at /content/article/catalogOne/example.md
Each time you save the change, the preview web page will refresh automatically.
- run the command in terminal to pre-render the website
yarn generate- You will get the
dist/directory (symlink to.output/public), then you can deploy this folder to any static hosting server.
💡 Recommend to deploy the project to Vercel. If you want to deploy to other platform, please check out the documentation of Nuxt.