chore: cleanup
This commit is contained in:
parent
28eddee0ee
commit
a60ca7b7a6
18
README.md
18
README.md
@ -12,14 +12,6 @@
|
|||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
## Dropped Features
|
|
||||||
|
|
||||||
- ~~i18n~~
|
|
||||||
- ~~Layouts~~
|
|
||||||
- ~~SSG~~
|
|
||||||
- ~~PWA~~
|
|
||||||
- ~~Markdown~~
|
|
||||||
|
|
||||||
## Features
|
## 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
|
- ⚡️ [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.
|
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
|
## Pre-packed
|
||||||
|
|
||||||
### UI Frameworks
|
### 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/)
|
- [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)
|
- [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
|
### Plugins
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[build.environment]
|
[build.environment]
|
||||||
NPM_FLAGS = "--prefix=/dev/null"
|
NPM_FLAGS = "--version"
|
||||||
NODE_VERSION = "14"
|
NODE_VERSION = "16"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
publish = "dist"
|
publish = "dist"
|
||||||
@ -10,8 +10,3 @@
|
|||||||
from = "/*"
|
from = "/*"
|
||||||
to = "/index.html"
|
to = "/index.html"
|
||||||
status = 200
|
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,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --port 3333 --open",
|
"dev": "vite --port 3333 --open",
|
||||||
"build": "cross-env NODE_ENV=production vite build",
|
"build": "vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"lint": "eslint . --ext=.ts,.vue"
|
"lint": "eslint . --ext=.ts,.vue"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vueuse/core": "^7.1.2",
|
"@vueuse/core": "^7.2.2",
|
||||||
"vue": "^3.2.23",
|
"vue": "^3.2.24",
|
||||||
"vue-demi": "^0.12.1",
|
|
||||||
"vue-router": "^4.0.12"
|
"vue-router": "^4.0.12"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^0.11.1",
|
"@antfu/eslint-config": "^0.12.2",
|
||||||
"@iconify-json/carbon": "^1.0.11",
|
"@iconify-json/carbon": "^1.0.12",
|
||||||
"@types/node": "^16.11.11",
|
"@types/node": "^16.11.12",
|
||||||
"@unocss/preset-icons": "^0.14.2",
|
"@unocss/reset": "^0.15.6",
|
||||||
"@unocss/reset": "^0.14.2",
|
"@vitejs/plugin-vue": "^1.10.2",
|
||||||
"@vitejs/plugin-vue": "^1.10.1",
|
"eslint": "^8.4.1",
|
||||||
"cross-env": "^7.0.3",
|
"pnpm": "^6.23.6",
|
||||||
"eslint": "^8.3.0",
|
|
||||||
"pnpm": "^6.23.4",
|
|
||||||
"typescript": "^4.5.2",
|
"typescript": "^4.5.2",
|
||||||
"unocss": "^0.14.2",
|
"unocss": "^0.15.6",
|
||||||
"unplugin-auto-import": "^0.5.1",
|
"unplugin-auto-import": "^0.5.1",
|
||||||
"unplugin-icons": "^0.12.22",
|
"unplugin-vue-components": "^0.17.6",
|
||||||
"unplugin-vue-components": "^0.17.2",
|
"vite": "^2.7.1",
|
||||||
"vite": "^2.6.14",
|
|
||||||
"vite-plugin-pages": "^0.18.2"
|
"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 {
|
html.dark {
|
||||||
background: #121212;
|
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 { defineConfig } from 'vite'
|
||||||
import Vue from '@vitejs/plugin-vue'
|
import Vue from '@vitejs/plugin-vue'
|
||||||
import Pages from 'vite-plugin-pages'
|
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 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 AutoImport from 'unplugin-auto-import/vite'
|
||||||
|
import { presetAttributify, presetUno, presetIcons } from 'unocss'
|
||||||
|
import Unocss from 'unocss/vite'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
resolve: {
|
resolve: {
|
||||||
@ -34,21 +31,9 @@ export default defineConfig({
|
|||||||
|
|
||||||
// https://github.com/antfu/vite-plugin-components
|
// https://github.com/antfu/vite-plugin-components
|
||||||
Components({
|
Components({
|
||||||
resolvers: [
|
|
||||||
// auto import icons
|
|
||||||
// https://github.com/antfu/vite-plugin-icons
|
|
||||||
IconsResolver({
|
|
||||||
componentPrefix: '',
|
|
||||||
}),
|
|
||||||
],
|
|
||||||
dts: true,
|
dts: true,
|
||||||
}),
|
}),
|
||||||
|
|
||||||
// https://github.com/antfu/vite-plugin-icons
|
|
||||||
Icons({
|
|
||||||
autoInstall: true,
|
|
||||||
}),
|
|
||||||
|
|
||||||
// https://github.com/antfu/unocss
|
// https://github.com/antfu/unocss
|
||||||
Unocss({
|
Unocss({
|
||||||
shortcuts: [
|
shortcuts: [
|
||||||
@ -65,12 +50,6 @@ export default defineConfig({
|
|||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|
||||||
server: {
|
|
||||||
fs: {
|
|
||||||
strict: true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
include: [
|
include: [
|
||||||
'vue',
|
'vue',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user