This source code is based on Vitesse by Anthony Fu.
- ⚡️ Vue 3, Vite, pnpm, esbuild - born with fastness
- 🗂 File based routing
- 📦 Components auto importing
- 📑 Layout system
- 📲 PWA
- 😃 Use icons from any icon sets with classes
- 🌍 I18n ready
- 🗒 Markdown Support
- 🔥 Use the new
<script setup>
syntax - 🤙🏻 Reactivity Transform enabled
- 📥 APIs auto importing - use Composition API and others directly
- 🖨 Static-site generation (SSG) via vite-ssg
- 🦾 TypeScript, of course
- ☁️ Deploy on Netlify, zero-config
- TailwindCSS - A utility-first CSS framework.
- Vue Router
vite-plugin-pages
- file system based routingvite-plugin-vue-layouts
- layouts for pages
unplugin-vue-components
- components auto importunplugin-auto-import
- Directly use Vue Composition API and others without importingvite-plugin-pwa
- PWAvite-plugin-md
- Markdown as components / components in Markdownmarkdown-it-shiki
- Shiki for syntax highlighting
- Vue I18n - Internationalization
unplugin-vue-i18n
- unplugin for Vue I18n
- VueUse - collection of useful composition APIs
vite-ssg-sitemap
- Sitemap generator@vueuse/head
- manipulate document head reactively
All plugin is located at ./src/plugins and their config is saved in ./src/site.config.ts.plugins
.
- Counter Analytics
- Donation
- Facebook Comment
- Google Analytics
- I18n
- Medium Zoom
- Nprogress
- Sharing
- Substack Newsletter
- Swetrix Analytics
- Use Composition API with
<script setup>
SFC syntax - ESLint with @antfu/eslint-config, single quotes, no semi.
- TypeScript
- pnpm - fast, disk space efficient package manager
vite-ssg
- Static-site generation- Netlify - zero-config deployment
- VS Code Extensions
- Vite - Fire up Vite server automatically
- Volar - Vue 3
<script setup>
IDE support - Iconify IntelliSense - Icon inline display and autocomplete
- i18n Ally - All in one i18n support
- ESLint
This source code requires Node >=14.18
If you prefer to do it manually with the cleaner git history
git clone git@github.com:ansidev/blog.git my-blog
cd my-blog
pnpm i # If you don't have pnpm installed, run: npm install -g pnpm
Just run and visit http://localhost:3333
pnpm dev
To build the App, run
pnpm build
And you will see the generated file in dist
that ready to be served.
Go to Netlify and select your clone, OK
along the way, and your App will be live in a minute.