Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
style: run eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elonehoo committed Apr 12, 2023
1 parent 448893d commit 897fb77
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ npm i unplugin-vue-sfc-name
```ts
// vite.config.ts
import Starter from 'unplugin-vue-sfc-name/vite'

export default defineConfig({
plugins: [
Starter({ /* options */ }),
Expand All @@ -50,6 +51,7 @@ Example: [`playground/`](./playground/)
```ts
// rollup.config.js
import Starter from 'unplugin-vue-sfc-name/rollup'

export default {
plugins: [
Starter({ /* options */ }),
Expand Down Expand Up @@ -113,6 +115,7 @@ module.exports = {
// esbuild.config.js
import { build } from 'esbuild'
import Starter from 'unplugin-vue-sfc-name/esbuild'

build({
plugins: [Starter()],
})
Expand Down
1 change: 1 addition & 0 deletions playground/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { createApp } from 'vue'
import App from './App.vue'

createApp(App).mount('#app')
1 change: 1 addition & 0 deletions playground/src/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script setup lang="ts" inheritAttrs="false" name="Count">
import { ref } from 'vue'
const num = ref(0)
</script>

Expand Down

0 comments on commit 897fb77

Please sign in to comment.