chore: cleanup
This commit is contained in:
parent
28eddee0ee
commit
a60ca7b7a6
18
README.md
18
README.md
@ -12,14 +12,6 @@
|
||||
|
||||
<br>
|
||||
|
||||
## Dropped Features
|
||||
|
||||
- ~~i18n~~
|
||||
- ~~Layouts~~
|
||||
- ~~SSG~~
|
||||
- ~~PWA~~
|
||||
- ~~Markdown~~
|
||||
|
||||
## Features
|
||||
|
||||
- ⚡️ [Vue 3](https://github.com/vuejs/vue-next), [Vite 2](https://github.com/vitejs/vite), [pnpm](https://pnpm.js.org/), [ESBuild](https://github.com/evanw/esbuild) - born with fastness
|
||||
@ -42,6 +34,15 @@
|
||||
|
||||
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
|
||||
@ -52,7 +53,6 @@ See [Vitesse](https://github.com/antfu/vitesse) for full featureset.
|
||||
|
||||
- [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)
|
||||
- [`unplugin-icons`](https://github.com/antfu/unplugin-icons) - using icons as components on-demand
|
||||
|
||||
### Plugins
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[build.environment]
|
||||
NPM_FLAGS = "--prefix=/dev/null"
|
||||
NODE_VERSION = "14"
|
||||
NPM_FLAGS = "--version"
|
||||
NODE_VERSION = "16"
|
||||
|
||||
[build]
|
||||
publish = "dist"
|
||||
@ -10,8 +10,3 @@
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
||||
|
||||
[[headers]]
|
||||
for = "/manifest.webmanifest"
|
||||
[headers.values]
|
||||
Content-Type = "application/manifest+json"
|
||||
30
package.json
30
package.json
@ -2,32 +2,28 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite --port 3333 --open",
|
||||
"build": "cross-env NODE_ENV=production vite build",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint . --ext=.ts,.vue"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vueuse/core": "^7.1.2",
|
||||
"vue": "^3.2.23",
|
||||
"vue-demi": "^0.12.1",
|
||||
"@vueuse/core": "^7.2.2",
|
||||
"vue": "^3.2.24",
|
||||
"vue-router": "^4.0.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.11.1",
|
||||
"@iconify-json/carbon": "^1.0.11",
|
||||
"@types/node": "^16.11.11",
|
||||
"@unocss/preset-icons": "^0.14.2",
|
||||
"@unocss/reset": "^0.14.2",
|
||||
"@vitejs/plugin-vue": "^1.10.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.3.0",
|
||||
"pnpm": "^6.23.4",
|
||||
"@antfu/eslint-config": "^0.12.2",
|
||||
"@iconify-json/carbon": "^1.0.12",
|
||||
"@types/node": "^16.11.12",
|
||||
"@unocss/reset": "^0.15.6",
|
||||
"@vitejs/plugin-vue": "^1.10.2",
|
||||
"eslint": "^8.4.1",
|
||||
"pnpm": "^6.23.6",
|
||||
"typescript": "^4.5.2",
|
||||
"unocss": "^0.14.2",
|
||||
"unocss": "^0.15.6",
|
||||
"unplugin-auto-import": "^0.5.1",
|
||||
"unplugin-icons": "^0.12.22",
|
||||
"unplugin-vue-components": "^0.17.2",
|
||||
"vite": "^2.6.14",
|
||||
"unplugin-vue-components": "^0.17.6",
|
||||
"vite": "^2.7.1",
|
||||
"vite-plugin-pages": "^0.18.2"
|
||||
}
|
||||
}
|
||||
|
||||
938
pnpm-lock.yaml
generated
938
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -9,18 +9,3 @@ body,
|
||||
html.dark {
|
||||
background: #121212;
|
||||
}
|
||||
|
||||
/*
|
||||
.btn {
|
||||
@apply px-4 py-1 rounded inline-block
|
||||
bg-teal-600 text-white cursor-pointer
|
||||
hover:bg-teal-700
|
||||
disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50;
|
||||
}
|
||||
|
||||
.icon-btn {
|
||||
@apply inline-block cursor-pointer select-none
|
||||
opacity-75 transition duration-200 ease-in-out
|
||||
hover:opacity-100 hover:text-teal-600;
|
||||
font-size: 0.9em;
|
||||
} */
|
||||
|
||||
@ -2,13 +2,10 @@ import path from 'path'
|
||||
import { defineConfig } from 'vite'
|
||||
import Vue from '@vitejs/plugin-vue'
|
||||
import Pages from 'vite-plugin-pages'
|
||||
import Icons from 'unplugin-icons/vite'
|
||||
import IconsResolver from 'unplugin-icons/resolver'
|
||||
import Components from 'unplugin-vue-components/vite'
|
||||
import Unocss from 'unocss/vite'
|
||||
import { presetAttributify, presetUno } from 'unocss'
|
||||
import presetIcons from '@unocss/preset-icons'
|
||||
import AutoImport from 'unplugin-auto-import/vite'
|
||||
import { presetAttributify, presetUno, presetIcons } from 'unocss'
|
||||
import Unocss from 'unocss/vite'
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
@ -34,21 +31,9 @@ export default defineConfig({
|
||||
|
||||
// https://github.com/antfu/vite-plugin-components
|
||||
Components({
|
||||
resolvers: [
|
||||
// auto import icons
|
||||
// https://github.com/antfu/vite-plugin-icons
|
||||
IconsResolver({
|
||||
componentPrefix: '',
|
||||
}),
|
||||
],
|
||||
dts: true,
|
||||
}),
|
||||
|
||||
// https://github.com/antfu/vite-plugin-icons
|
||||
Icons({
|
||||
autoInstall: true,
|
||||
}),
|
||||
|
||||
// https://github.com/antfu/unocss
|
||||
Unocss({
|
||||
shortcuts: [
|
||||
@ -65,12 +50,6 @@ export default defineConfig({
|
||||
}),
|
||||
],
|
||||
|
||||
server: {
|
||||
fs: {
|
||||
strict: true,
|
||||
},
|
||||
},
|
||||
|
||||
optimizeDeps: {
|
||||
include: [
|
||||
'vue',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user