diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index 37f4e7749..0958e5ac5 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -19,7 +19,8 @@ "/examples/recently-viewed-items", "/examples/starter-algolia", "/examples/starter", - "/examples/voice-search" + "/examples/voice-search", + "/examples/vue" ], "node": "14" } diff --git a/examples/vue/README.md b/examples/vue/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/examples/vue/env.ts b/examples/vue/env.ts new file mode 100644 index 000000000..674a16a13 --- /dev/null +++ b/examples/vue/env.ts @@ -0,0 +1,6 @@ +// Parcel picks the `source` field of the monorepo packages and thus doesn't +// apply the Babel config. We therefore need to manually override the constants +// in the app, as well as the React pragmas. +// See https://twitter.com/devongovett/status/1134231234605830144 +(global as any).__DEV__ = process.env.NODE_ENV !== 'production'; +(global as any).__TEST__ = false; diff --git a/examples/vue/favicon.png b/examples/vue/favicon.png new file mode 100644 index 000000000..084fdfdfc Binary files /dev/null and b/examples/vue/favicon.png differ diff --git a/examples/vue/index.html b/examples/vue/index.html new file mode 100644 index 000000000..7b142c6f9 --- /dev/null +++ b/examples/vue/index.html @@ -0,0 +1,18 @@ + +
+ + + + + + +