Skip to content

Commit

Permalink
chore: a few minor changes (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjxxxxxxxxx authored Sep 17, 2023
1 parent 32fd01f commit 05881df
Show file tree
Hide file tree
Showing 10 changed files with 310 additions and 24 deletions.
Binary file removed .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [zjxxxxxxxxx]
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ Add a \_\_source prop to all Elements.
- ✨ JSX support in `.vue`, `.jsx`, `.tsx`.
- 😃 Supports `Vite`, `Webpack`, `Rspack`, `Vue CLI`, `Rollup`, `esbuild`.

> For development only
---

sfc without

```html
<!-- /src/App.vue -->
<!-- src/App.vue -->
<template>
<div>hello word</div>
</template>
Expand All @@ -21,7 +23,7 @@ sfc without
with

```html
<!-- /src/App.vue -->
<!-- src/App.vue -->
<template>
<div __source="/src/App.vue:3:3">hello word</div>
</template>
Expand All @@ -32,17 +34,17 @@ with
jsx without

```tsx
// /src/App.vue
export default App() {
// src/App.vue
export default function App() {
return <div>hello word</div>
}
```

with

```tsx
// /src/App.vue
export default App() {
// src/App.vue
export default function App() {
return <div __source="/src/App.vue:3:9">hello word</div>
}
```
Expand Down
Binary file removed examples/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"@typescript-eslint/parser": "^6.6.0",
"@vue/compiler-dom": "^3.3.4",
"bumpp": "^9.2.0",
"changelogithub": "^0.13.0",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
}
Expand Down
Loading

0 comments on commit 05881df

Please sign in to comment.