delete
This commit is contained in:
parent
cbb14e0916
commit
5d3f7f10ee
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@ -1,2 +0,0 @@
|
|||||||
open_collective: antfu
|
|
||||||
github: [antfu]
|
|
47
.github/workflows/test.yml
vendored
47
.github/workflows/test.yml
vendored
@ -1,47 +0,0 @@
|
|||||||
name: Test
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
timeout-minutes: 10
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node_version: [lts/*]
|
|
||||||
os: [ubuntu-latest, windows-latest]
|
|
||||||
fail-fast: false
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: pnpm/action-setup@v2
|
|
||||||
|
|
||||||
- name: Set node version to ${{ matrix.node_version }}
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node_version }}
|
|
||||||
cache: pnpm
|
|
||||||
|
|
||||||
- name: Install
|
|
||||||
run: pnpm i
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: pnpm run build
|
|
||||||
|
|
||||||
- name: Test
|
|
||||||
run: pnpm run test
|
|
||||||
|
|
||||||
- name: Lint
|
|
||||||
run: pnpm run lint
|
|
||||||
|
|
||||||
- name: TypeCheck
|
|
||||||
run: pnpm run typecheck
|
|
86
README.md
86
README.md
@ -1,86 +0,0 @@
|
|||||||
<p align='center'>
|
|
||||||
<img src='https://user-images.githubusercontent.com/11247099/111864893-a457fd00-899e-11eb-9f05-f4b88987541d.png' alt='Vitesse - Opinionated Vite Starter Template' width='600'/>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h6 align='center'>
|
|
||||||
<a href="https://vitesse-lite.netlify.app/">Live Demo</a>
|
|
||||||
</h6>
|
|
||||||
|
|
||||||
<h5 align='center'>
|
|
||||||
<b>Lightweight version of <a href="https://github.com/antfu/vitesse">Vitesse</a></b>
|
|
||||||
</h5>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
<p align='center'>
|
|
||||||
<b>English</b> | <a href="https://github.com/antfu-collective/vitesse-lite/blob/main/README.zh-CN.md">简体中文</a>
|
|
||||||
<!-- Contributors: Thanks for geting interested, however we DON'T accept new transitions to the README, thanks. -->
|
|
||||||
</p>
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- ⚡️ [Vue 3](https://github.com/vuejs/core), [Vite](https://github.com/vitejs/vite), [pnpm](https://pnpm.io/), [ESBuild](https://github.com/evanw/esbuild) - born with fastness
|
|
||||||
|
|
||||||
- 🗂 [File based routing](./src/pages)
|
|
||||||
|
|
||||||
- 📦 [Components auto importing](./src/components)
|
|
||||||
|
|
||||||
- 🎨 [UnoCSS](https://github.com/antfu/unocss) - The instant on-demand atomic CSS engine.
|
|
||||||
|
|
||||||
- 😃 Use icons from any icon sets in [Pure CSS](https://github.com/antfu/unocss/tree/main/packages/preset-icons)
|
|
||||||
|
|
||||||
- 🔥 Use the [new `<script setup>` style](https://github.com/vuejs/rfcs/pull/227)
|
|
||||||
|
|
||||||
- ✅ Use [Vitest](http://vitest.dev/) for unit and components testing
|
|
||||||
|
|
||||||
- 🦾 TypeScript, of course
|
|
||||||
|
|
||||||
- ☁️ Deploy on Netlify, zero-config
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
See [Vitesse](https://github.com/antfu/vitesse) for full featureset.
|
|
||||||
|
|
||||||
## Dropped Features from [Vitesse](https://github.com/antfu/vitesse)
|
|
||||||
|
|
||||||
- ~~i18n~~
|
|
||||||
- ~~Layouts~~
|
|
||||||
- ~~SSG~~
|
|
||||||
- ~~PWA~~
|
|
||||||
- ~~Markdown~~
|
|
||||||
|
|
||||||
## Pre-packed
|
|
||||||
|
|
||||||
### UI Frameworks
|
|
||||||
|
|
||||||
- [UnoCSS](https://github.com/antfu/unocss) - The instant on-demand atomic CSS engine.
|
|
||||||
|
|
||||||
### Icons
|
|
||||||
|
|
||||||
- [Iconify](https://iconify.design) - use icons from any icon sets [🔍Icônes](https://icones.netlify.app/)
|
|
||||||
- [Pure CSS Icons via UnoCSS](https://github.com/antfu/unocss/tree/main/packages/preset-icons)
|
|
||||||
|
|
||||||
### Plugins
|
|
||||||
|
|
||||||
- [Vue Router](https://github.com/vuejs/vue-router)
|
|
||||||
- [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) - file system based routing
|
|
||||||
- [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - Directly use Vue Composition API and others without importing
|
|
||||||
- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - components auto import
|
|
||||||
- [`unplugin-vue-macros`](https://github.com/sxzz/unplugin-vue-macros) - Explore and extend more macros and syntax sugar to Vue.
|
|
||||||
- [VueUse](https://github.com/antfu/vueuse) - collection of useful composition APIs
|
|
||||||
|
|
||||||
## Try it now!
|
|
||||||
|
|
||||||
### GitHub Template
|
|
||||||
|
|
||||||
[Create a repo from this template on GitHub](https://github.com/antfu-collective/vitesse-lite/generate).
|
|
||||||
|
|
||||||
### Clone to local
|
|
||||||
|
|
||||||
If you prefer to do it manually with the cleaner git history
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npx degit antfu-collective/vitesse-lite my-vitesse-app
|
|
||||||
cd my-vitesse-app
|
|
||||||
pnpm i # If you don't have pnpm installed, run: npm install -g pnpm
|
|
||||||
```
|
|
@ -1,87 +0,0 @@
|
|||||||
<p align='center'>
|
|
||||||
<img src='https://user-images.githubusercontent.com/11247099/111864893-a457fd00-899e-11eb-9f05-f4b88987541d.png' alt='Vitesse - Opinionated Vite Starter Template' width='600'/>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<h6 align='center'>
|
|
||||||
<a href="https://vitesse-lite.netlify.app/">在线 Demo</a>
|
|
||||||
</h6>
|
|
||||||
|
|
||||||
<h5 align='center'>
|
|
||||||
<b>轻量版的 <a href="https://github.com/antfu/vitesse">Vitesse</a></b>
|
|
||||||
</h5>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
<p align='center'>
|
|
||||||
<a href="https://github.com/antfu-collective/vitesse-lite/blob/main/README.md">English</a> | <b>简体中文</b>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
## 特性
|
|
||||||
|
|
||||||
- ⚡️ [Vue 3](https://github.com/vuejs/core), [Vite](https://github.com/vitejs/vite), [pnpm](https://pnpm.io/), [ESBuild](https://github.com/evanw/esbuild) - 就是快!
|
|
||||||
|
|
||||||
- 🗂 [基于文件的路由](./src/pages)
|
|
||||||
|
|
||||||
- 📦 [组件自动化加载](./src/components)
|
|
||||||
|
|
||||||
- 🎨 [UnoCSS](https://github.com/unocss/unocss) - 高性能且极具灵活性的即时原子化 CSS 引擎
|
|
||||||
|
|
||||||
- 😃 [各种图标集为你所用](https://github.com/antfu/unocss/tree/main/packages/preset-icons)
|
|
||||||
|
|
||||||
- 🔥 使用 [新的 `<script setup>` 语法](https://github.com/vuejs/rfcs/pull/227)
|
|
||||||
|
|
||||||
- ✅ 使用 [Vitest](http://vitest.dev/) 进行单元和组件测试
|
|
||||||
|
|
||||||
- 🦾 TypeScript, 当然
|
|
||||||
|
|
||||||
- ☁️ 零配置部署 Netlify
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
完整特性,请查看 [Vitesse](https://github.com/antfu/vitesse)
|
|
||||||
|
|
||||||
## 从 [Vitesse](https://github.com/antfu/vitesse) 中删除了以下特性
|
|
||||||
|
|
||||||
- ~~i18n~~
|
|
||||||
- ~~Layouts~~
|
|
||||||
- ~~SSG~~
|
|
||||||
- ~~PWA~~
|
|
||||||
- ~~Markdown~~
|
|
||||||
|
|
||||||
## 预配置
|
|
||||||
|
|
||||||
### UI 框架
|
|
||||||
|
|
||||||
- [UnoCSS](https://github.com/antfu/unocss) - 高性能且极具灵活性的即时原子化 CSS 引擎
|
|
||||||
|
|
||||||
### Icons
|
|
||||||
|
|
||||||
- [Iconify](https://iconify.design) - 使用任意的图标集,浏览:[🔍Icônes](https://icones.netlify.app/)
|
|
||||||
- [UnoCSS 的纯 CSS 图标方案](https://github.com/antfu/unocss/tree/main/packages/preset-icons)
|
|
||||||
|
|
||||||
### 插件
|
|
||||||
|
|
||||||
- [Vue Router](https://github.com/vuejs/vue-router)
|
|
||||||
- [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) - 以文件系统为基础的路由
|
|
||||||
- [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - 直接使用 Composition API 等,无需导入
|
|
||||||
- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - 自动加载组件
|
|
||||||
- [`unplugin-vue-macros`](https://github.com/sxzz/unplugin-vue-macros) - 探索并扩展更多的宏和语法糖到 Vue 中
|
|
||||||
- [VueUse](https://github.com/antfu/vueuse) - 实用的 Composition API 工具合集
|
|
||||||
|
|
||||||
## 现在可以试试!
|
|
||||||
|
|
||||||
### GitHub 模板
|
|
||||||
|
|
||||||
[使用这个模板创建仓库](https://github.com/antfu-collective/vitesse-lite/generate).
|
|
||||||
|
|
||||||
### 克隆到本地
|
|
||||||
|
|
||||||
如果您更喜欢使用更干净的 git 历史记录手动执行此操作
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npx degit antfu-collective/vitesse-lite my-vitesse-app
|
|
||||||
cd my-vitesse-app
|
|
||||||
pnpm i # 如果你没装过 pnpm, 可以先运行: npm install -g pnpm
|
|
||||||
```
|
|
Loading…
Reference in New Issue
Block a user