Skip to content

Commit 278796b

Browse files
committed
feat(framework): add initial Vue framework shim configuration and related steps
1 parent 760d754 commit 278796b

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
> vp create vite:application --no-interactive -- --template vue-ts # create Vue+TS app
2+
> cat vite-plus-application/src/env.d.ts # check Vue shim was added
3+
declare module '*.vue' {
4+
import type { DefineComponent } from 'vue';
5+
const component: DefineComponent<{}, {}, unknown>;
6+
export default component;
7+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"ignoredPlatforms": ["win32"],
3+
"commands": [
4+
{
5+
"command": "vp create vite:application --no-interactive -- --template vue-ts # create Vue+TS app",
6+
"ignoreOutput": true
7+
},
8+
"cat vite-plus-application/src/env.d.ts # check Vue shim was added"
9+
]
10+
}

0 commit comments

Comments
 (0)