Skip to content

Commit

Permalink
chore: update tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 10, 2022
1 parent 9d9b61c commit 7e922ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/general.md
Expand Up @@ -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**
4 changes: 2 additions & 2 deletions tsconfig.json
Expand Up @@ -2,11 +2,11 @@
"compilerOptions": {
"baseUrl": ".",
"module": "ESNext",
"target": "es2016",
"target": "ESNext",
"lib": ["DOM", "ESNext"],
"strict": true,
"esModuleInterop": true,
"incremental": false,
"jsx": "preserve",

This comment has been minimized.

Copy link
@MarvinXu

MarvinXu Apr 11, 2022

Is this to fix TS error Cannot use JSX unless the '--jsx' flag is provided. ? Why there wasn't this error before? What changed?

This comment has been minimized.

Copy link
@antfu

antfu Apr 11, 2022

Author Member
"skipLibCheck": true,
"moduleResolution": "node",
"resolveJsonModule": true,
Expand Down
5 changes: 4 additions & 1 deletion unocss.config.ts
Expand Up @@ -16,7 +16,10 @@ export default defineConfig({
],
presets: [
presetUno(),
presetAttributify(),
presetAttributify({
prefix: 'un-',
prefixedOnly: true,
}),
presetIcons({
scale: 1.2,
warn: true,
Expand Down

0 comments on commit 7e922ae

Please sign in to comment.