Blog

screenshot of Blog
vite
vue
scss

Vue3.2+Vite+TypeScript+Pinia+Setup写法,包括 命令式组件写法,Eslint Prettier规范,TypeScript入门写法

Overview:

This product is a personal homepage theme built with Vue3.2, Vite, TypeScript, Pinia, and Setup techniques. It features a TodoList example for practicing Vue3.2 and supports both Vue3 and Setup component writing methods. Additionally, it includes guidelines for testing Vue components with Jest and TypeScript along with coverage viewing. The theme also adheres to various coding standards such as eslint, prettier, stylelint, commitlint, and husky, and supports automatic deployment using GitHub Actions.

Features:

  • Vue3.2 + Vite + TypeScript + Pinia + Setup: Combination of latest technologies for efficient development.
  • TodoList Example for Vue3.2: Helps in quick understanding and entry into Vue3.2.
  • Component Writing Support: Provides guides for both Vue3 + Setup component writing and Vue3.2 imperative component writing alongside Vue2.x Options API usage.
  • Testing with Jest + TypeScript: Introduction to writing Vue component test cases with Jest and TypeScript for better code coverage.
  • Coding Standards: Supports various coding standards like eslint, prettier, stylelint, commitlint, and husky for maintaining code quality.
  • Automatic Deployment: Utilizes GitHub Actions for automated project deployment.
vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

scss
SCSS

SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

github-pages
GitHub Pages

Gridsome is a Vue.js-based static site generator that makes it easy to build fast and flexible websites and applications by leveraging modern web technologies like GraphQL, Webpack, and hot reloading

Stylelint

Stylelint is a modern linter for CSS that helps you avoid errors and enforce consistent styling conventions. It provides rules for detecting errors and warnings, and can be configured to match your specific project's requirements.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.