- remove README.md and netlify deploy config
- modify lint issue and root README.md(erase netlify description)
This commit is contained in:
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -8,4 +8,7 @@
|
|||||||
"files.associations": {
|
"files.associations": {
|
||||||
"*.css": "postcss",
|
"*.css": "postcss",
|
||||||
},
|
},
|
||||||
|
"files.exclude": {
|
||||||
|
"node_modules": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
21
LICENSE
21
LICENSE
@@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2020-2021 Anthony Fu
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
@@ -30,8 +30,6 @@
|
|||||||
|
|
||||||
- 🦾 TypeScript, of course
|
- 🦾 TypeScript, of course
|
||||||
|
|
||||||
- ☁️ Deploy on Netlify, zero-config
|
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
|||||||
12
netlify.toml
12
netlify.toml
@@ -1,12 +0,0 @@
|
|||||||
[build.environment]
|
|
||||||
NPM_FLAGS = "--version"
|
|
||||||
NODE_VERSION = "16"
|
|
||||||
|
|
||||||
[build]
|
|
||||||
publish = "dist"
|
|
||||||
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build"
|
|
||||||
|
|
||||||
[[redirects]]
|
|
||||||
from = "/*"
|
|
||||||
to = "/index.html"
|
|
||||||
status = 200
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
## Components
|
|
||||||
|
|
||||||
Components in this dir will be auto-registered and on-demand, powered by [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components).
|
|
||||||
|
|
||||||
### Icons
|
|
||||||
|
|
||||||
You can use icons from almost any icon sets by the power of [Iconify](https://iconify.design/).
|
|
||||||
|
|
||||||
It will only bundle the icons you use. Check out [`unplugin-icons`](https://github.com/antfu/unplugin-icons) for more details.
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
## File-based Routing
|
|
||||||
|
|
||||||
Routes will be auto-generated for Vue files in this dir with the same file structure.
|
|
||||||
Check out [`vite-plugin-pages`](https://github.com/hannoeru/vite-plugin-pages) for more details.
|
|
||||||
|
|
||||||
### Path Aliasing
|
|
||||||
|
|
||||||
`~/` is aliased to `./src/` folder.
|
|
||||||
|
|
||||||
For example, instead of having
|
|
||||||
|
|
||||||
```ts
|
|
||||||
import { isDark } from '../../../../composables'
|
|
||||||
```
|
|
||||||
|
|
||||||
now, you can use
|
|
||||||
|
|
||||||
```ts
|
|
||||||
import { isDark } from '~/composables'
|
|
||||||
```
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { describe, it, expect } from 'vitest'
|
import { describe, expect, it } from 'vitest'
|
||||||
|
|
||||||
describe('Hi', () => {
|
describe('Hi', () => {
|
||||||
it('should works', () => {
|
it('should works', () => {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { mount } from '@vue/test-utils'
|
import { mount } from '@vue/test-utils'
|
||||||
import { describe, it, expect } from 'vitest'
|
import { describe, expect, it } from 'vitest'
|
||||||
import Counter from '../src/components/Counter.vue'
|
import Counter from '../src/components/Counter.vue'
|
||||||
|
|
||||||
describe('Counter.vue', () => {
|
describe('Counter.vue', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user