https://github.com/ctwhome/top-vite
Top Vue 3 application temaplate based of Antfu/Vitesse with customizations
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.4%) to scientific vocabulary
Repository
Top Vue 3 application temaplate based of Antfu/Vitesse with customizations
Basic Info
- Host: GitHub
- Owner: ctwhome
- License: mit
- Language: TypeScript
- Default Branch: main
- Size: 33.2 KB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Features
📲 PWA
🎨 Windi CSS - next generation utility-first CSS framework
🔥 Use the new
<script setup>syntax📥 APIs auto importing - use Composition API and others directly
🖨 Server-side generation (SSG) via vite-ssg
🦔 Critical CSS via critters
🦾 TypeScript, of course
⚙️ E2E Testing with Cypress on GitHub Actions
☁️ Deploy on Netlify, zero-config
Pre-packed
UI Frameworks
- Windi CSS (On-demand TailwindCSS) - lighter and faster, with a bunch of additional features!
Icons
- Iconify - use icons from any icon sets 🔍Icônes
unplugin-icons- icons as Vue components
Plugins
- Vue Router
vite-plugin-pages- file system based routingvite-plugin-vue-layouts- layouts for pages
- Pinia - Intuitive, type safe, light and flexible Store for Vue using the composition api
unplugin-vue-components- components auto importunplugin-auto-import- Directly use Vue Composition API and others without importingvite-plugin-pwa- PWAvite-plugin-windicss- Windi CSS Integrationvite-plugin-md- Markdown as components / components in Markdownmarkdown-it-prism- Prism for syntax highlightingprism-theme-vars- customizable Prism.js theme using CSS variables
- Vue I18n - Internationalization
vite-plugin-vue-i18n- Vite plugin for Vue I18n
- VueUse - collection of useful composition APIs
@vueuse/head- manipulate document head reactively
Coding Style
- Use Composition API with
<script setup>SFC syntax - ESLint with @antfu/eslint-config, single quotes, no semi.
Dev tools
- TypeScript
- Cypress - E2E Testing
- pnpm - fast, disk space efficient package manager
vite-ssg- Server-side generation- critters - Critical CSS
- 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
- Windi CSS Intellisense - IDE support for Windi CSS
- ESLint
Variations
As this template is strongly opinionated, the following provides a curated list for community-maintained variations with different preferences and feature sets. Check them out as well. PR to add yours is also welcome!
Community
- vitesse-addons by @johncampionjr - additional options for integrations, including Prettier and Storybook
- vitesse-ssr-template by @frandiox - Vitesse with SSR
- vitespa by @ctholho - Like Vitesse but without SSG/SSR
- vitailse by @zynth17 - Like Vitesse but with TailwindCSS
- vitesse-modernized-chrome-ext by @xiaoluoboding - ⚡️ Modernized Chrome Extension Manifest V3 Vite Starter Template
- vitesse-stackter-clean-architect by @shamscorner - A modular clean architecture pattern in vitesse template
Try it now!
GitHub Template
Create a repo from this template on GitHub.
Updating from template
Fetch from the `template` remote. If you cloned via Github, you will need to add the remote origin.
```shell
Add template repository
git remote add template https://github.com/ctwhome/top-vite
Update repo
git fetch --all
Merge the branch you want from the remote template
git merge template/main --allow-unrelated-histories ```
Clone to local
If you prefer to do it manually with the cleaner git history
bash
npx degit antfu/vitesse my-vitesse-app
cd my-vitesse-app
pnpm i # If you don't have pnpm installed, run: npm install -g pnpm
Checklist
When you use this template, try follow the checklist to update your info properly
- [ ] Rename
namefield inpackage.json - [ ] Change the author name in
LICENSE - [ ] Change the title in
App.vue - [ ] Change the favicon in
public - [ ] Remove the
.githubfolder which contains the funding info - [ ] Clean up the READMEs and remove routes
And, enjoy :)
Usage
Development
Just run and visit http://localhost:3000
bash
pnpm dev
Build
To build the App, run
bash
pnpm build
And you will see the generated file in dist that ready to be served.
Deploy on Netlify
Go to Netlify and select your clone, OK along the way, and your App will be live in a minute.
Why
I have created several Vite apps recently. Setting the configs up is kinda the bottleneck for me to make the ideas simply come true within a very short time.
So I made this starter template for myself to create apps more easily, along with some good practices that I have learned from making those apps. It's strongly opinionated, but feel free to tweak it or even maintains your own forks. (see community maintained variation forks)
Owner
- Name: Jesse Gonzalez
- Login: ctwhome
- Kind: user
- Location: Amsterdam (Netherlands)
- Company: Netherlands eScience Center
- Website: https://www.ctwhome.com
- Twitter: ctwhome
- Repositories: 130
- Profile: https://github.com/ctwhome
Research Engineer at @NLeSC
GitHub Events
Total
Last Year
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| J. Gonzalez | c****w@c****m | 7 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/setup-node v2 composite
- cypress-io/github-action v2 composite
- pnpm/action-setup v2.0.1 composite
- @antfu/eslint-config ^0.10.0 development
- @iconify-json/carbon ^1.0.9 development
- @intlify/vite-plugin-vue-i18n ^3.0.0 development
- @types/markdown-it-link-attributes ^3.0.1 development
- @types/nprogress ^0.2.0 development
- @vitejs/plugin-vue ^1.9.4 development
- @vue/compiler-sfc ^3.2.21 development
- @vue/server-renderer ^3.2.21 development
- critters ^0.0.14 development
- cross-env ^7.0.3 development
- cypress ^8.7.0 development
- eslint ^8.2.0 development
- eslint-plugin-cypress ^2.12.1 development
- https-localhost ^4.7.0 development
- markdown-it-link-attributes ^3.0.0 development
- markdown-it-prism ^2.2.1 development
- pnpm ^6.20.3 development
- typescript ^4.4.4 development
- unplugin-auto-import ^0.4.13 development
- unplugin-icons ^0.12.18 development
- unplugin-vue-components ^0.17.2 development
- vite ^2.6.13 development
- vite-plugin-inspect ^0.3.10 development
- vite-plugin-md ^0.11.4 development
- vite-plugin-pages ^0.18.2 development
- vite-plugin-pwa ^0.11.3 development
- vite-plugin-vue-layouts ^0.5.0 development
- vite-plugin-windicss ^1.5.1 development
- vite-ssg ^0.15.6 development
- vue-tsc ^0.28.10 development
- @vueuse/core ^6.7.6
- @vueuse/head ^0.6.0
- nprogress ^0.2.0
- pinia ^2.0.2
- prism-theme-vars ^0.2.2
- vue ^3.2.21
- vue-demi ^0.12.1
- vue-i18n ^9.1.9
- vue-router ^4.0.12
- 941 dependencies