chore: update tsconfig.json

This commit is contained in:
Anthony Fu 2022-04-10 19:27:30 +08:00
parent 9d9b61cbd2
commit 7e922ae50c
3 changed files with 7 additions and 4 deletions

View File

@ -7,6 +7,6 @@ assignees: ''
---
PLEASE READ: I originally made this template for myself to mocking up apps quicker. I am glad to see you are willing to give it a try! Before your open the issue, please make sure you are reporting bugs in the template itself. **I am NOT creating this template to solve the problems you faced in your project, please use Vue or Vite's discord server to ask questions (or it might be closed directly without further notice).** Thank you.
> PLEASE READ: I originally made this template for myself to mocking up apps quicker. I am glad to see you are willing to give it a try! Before your open the issue, please make sure you are reporting bugs in the template itself. **I am NOT creating this template to solve the problems you faced in your project, please use Vue or Vite's discord server to ask questions (or it might be closed directly without further notice).** Thank you.
**Describe the bug/issue**

View File

@ -2,11 +2,11 @@
"compilerOptions": {
"baseUrl": ".",
"module": "ESNext",
"target": "es2016",
"target": "ESNext",
"lib": ["DOM", "ESNext"],
"strict": true,
"esModuleInterop": true,
"incremental": false,
"jsx": "preserve",
"skipLibCheck": true,
"moduleResolution": "node",
"resolveJsonModule": true,

View File

@ -16,7 +16,10 @@ export default defineConfig({
],
presets: [
presetUno(),
presetAttributify(),
presetAttributify({
prefix: 'un-',
prefixedOnly: true,
}),
presetIcons({
scale: 1.2,
warn: true,