We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 760d754 commit 278796bCopy full SHA for 278796b
2 files changed
packages/cli/snap-tests-global/create-framework-shim-vue/snap.txt
@@ -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
+}
packages/cli/snap-tests-global/create-framework-shim-vue/steps.json
@@ -0,0 +1,10 @@
+{
+ "ignoredPlatforms": ["win32"],
+ "commands": [
+ {
+ "command": "vp create vite:application --no-interactive -- --template vue-ts # create Vue+TS app",
+ "ignoreOutput": true
+ },
8
+ "cat vite-plus-application/src/env.d.ts # check Vue shim was added"
9
+ ]
10
0 commit comments