Skip to content

个人 - 基于 Vue3+Typescript 开发的个人博客网站

Notifications You must be signed in to change notification settings

Anuluca/personal_MegaAnuluca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 22, 2023
a9fa94c · May 22, 2023

History

13 Commits
Mar 2, 2023
May 22, 2023
Mar 3, 2023
May 22, 2023
Mar 2, 2023
Apr 27, 2023
Mar 2, 2023
May 22, 2023
Mar 3, 2023
May 22, 2023
Mar 3, 2023
Mar 7, 2023
Mar 2, 2023
May 22, 2023
May 22, 2023
Mar 7, 2023
Mar 2, 2023
Mar 7, 2023

Repository files navigation

MegaAnuluca

对不起我弃坑了,要写的东西太多了,上班已经够累了,懒得写了。 基于 Vue3+Typescript 开发的个人博客网站

使用的node版本

推到git-pages

cd ./dist git pull git rm -r --cached . git add . git commit -m 'a' git push -u

注意:不要修改CNAME文件 CNAME文件为第一次给github pages配置Custom domain时自动生成的文件,如果删除会导致Custom domain设置清空

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

About

个人 - 基于 Vue3+Typescript 开发的个人博客网站

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published