]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
feat: preliminary support for Vue 2
authorHaoqun Jiang <haoqunjiang@gmail.com>
Mon, 29 Nov 2021 14:06:07 +0000 (22:06 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Mon, 29 Nov 2021 14:06:07 +0000 (22:06 +0800)
565 files changed:
index.js
playground/default/package.json
playground/default/src/App.vue
playground/default/src/components/HelloWorld.vue
playground/default/src/components/TheWelcome.vue
playground/default/src/main.js
playground/default/vite.config.js
playground/jsx-pinia-with-tests/.gitignore [deleted file]
playground/jsx-pinia-with-tests/README.md [deleted file]
playground/jsx-pinia-with-tests/cypress.json [deleted file]
playground/jsx-pinia-with-tests/cypress/fixtures/example.json [deleted file]
playground/jsx-pinia-with-tests/cypress/integration/example.spec.js [deleted file]
playground/jsx-pinia-with-tests/cypress/jsconfig.json [deleted file]
playground/jsx-pinia-with-tests/cypress/plugins/index.js [deleted file]
playground/jsx-pinia-with-tests/cypress/support/commands.js [deleted file]
playground/jsx-pinia-with-tests/cypress/support/index.js [deleted file]
playground/jsx-pinia-with-tests/index.html [deleted file]
playground/jsx-pinia-with-tests/package.json [deleted file]
playground/jsx-pinia-with-tests/public/favicon.ico [deleted file]
playground/jsx-pinia-with-tests/src/App.vue [deleted file]
playground/jsx-pinia-with-tests/src/assets/base.css [deleted file]
playground/jsx-pinia-with-tests/src/assets/logo.svg [deleted file]
playground/jsx-pinia-with-tests/src/components/HelloWorld.vue [deleted file]
playground/jsx-pinia-with-tests/src/components/TheWelcome.vue [deleted file]
playground/jsx-pinia-with-tests/src/components/WelcomeItem.vue [deleted file]
playground/jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js [deleted file]
playground/jsx-pinia-with-tests/src/components/icons/IconCommunity.vue [deleted file]
playground/jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue [deleted file]
playground/jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue [deleted file]
playground/jsx-pinia-with-tests/src/components/icons/IconSupport.vue [deleted file]
playground/jsx-pinia-with-tests/src/components/icons/IconTooling.vue [deleted file]
playground/jsx-pinia-with-tests/src/main.js [deleted file]
playground/jsx-pinia-with-tests/src/stores/counter.js [deleted file]
playground/jsx-pinia-with-tests/vite.config.js [deleted file]
playground/jsx-pinia/.gitignore [deleted file]
playground/jsx-pinia/README.md [deleted file]
playground/jsx-pinia/index.html [deleted file]
playground/jsx-pinia/package.json [deleted file]
playground/jsx-pinia/public/favicon.ico [deleted file]
playground/jsx-pinia/src/App.vue [deleted file]
playground/jsx-pinia/src/assets/base.css [deleted file]
playground/jsx-pinia/src/assets/logo.svg [deleted file]
playground/jsx-pinia/src/components/HelloWorld.vue [deleted file]
playground/jsx-pinia/src/components/TheWelcome.vue [deleted file]
playground/jsx-pinia/src/components/WelcomeItem.vue [deleted file]
playground/jsx-pinia/src/components/icons/IconCommunity.vue [deleted file]
playground/jsx-pinia/src/components/icons/IconDocumentation.vue [deleted file]
playground/jsx-pinia/src/components/icons/IconEcosystem.vue [deleted file]
playground/jsx-pinia/src/components/icons/IconSupport.vue [deleted file]
playground/jsx-pinia/src/components/icons/IconTooling.vue [deleted file]
playground/jsx-pinia/src/main.js [deleted file]
playground/jsx-pinia/src/stores/counter.js [deleted file]
playground/jsx-pinia/vite.config.js [deleted file]
playground/jsx-router-pinia-with-tests/.gitignore [deleted file]
playground/jsx-router-pinia-with-tests/README.md [deleted file]
playground/jsx-router-pinia-with-tests/cypress.json [deleted file]
playground/jsx-router-pinia-with-tests/cypress/fixtures/example.json [deleted file]
playground/jsx-router-pinia-with-tests/cypress/integration/example.spec.js [deleted file]
playground/jsx-router-pinia-with-tests/cypress/jsconfig.json [deleted file]
playground/jsx-router-pinia-with-tests/cypress/plugins/index.js [deleted file]
playground/jsx-router-pinia-with-tests/cypress/support/commands.js [deleted file]
playground/jsx-router-pinia-with-tests/cypress/support/index.js [deleted file]
playground/jsx-router-pinia-with-tests/index.html [deleted file]
playground/jsx-router-pinia-with-tests/package.json [deleted file]
playground/jsx-router-pinia-with-tests/public/favicon.ico [deleted file]
playground/jsx-router-pinia-with-tests/src/App.vue [deleted file]
playground/jsx-router-pinia-with-tests/src/assets/base.css [deleted file]
playground/jsx-router-pinia-with-tests/src/assets/logo.svg [deleted file]
playground/jsx-router-pinia-with-tests/src/components/HelloWorld.vue [deleted file]
playground/jsx-router-pinia-with-tests/src/components/TheWelcome.vue [deleted file]
playground/jsx-router-pinia-with-tests/src/components/WelcomeItem.vue [deleted file]
playground/jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js [deleted file]
playground/jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue [deleted file]
playground/jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue [deleted file]
playground/jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue [deleted file]
playground/jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue [deleted file]
playground/jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue [deleted file]
playground/jsx-router-pinia-with-tests/src/main.js [deleted file]
playground/jsx-router-pinia-with-tests/src/router/index.js [deleted file]
playground/jsx-router-pinia-with-tests/src/stores/counter.js [deleted file]
playground/jsx-router-pinia-with-tests/src/views/AboutView.vue [deleted file]
playground/jsx-router-pinia-with-tests/src/views/HomeView.vue [deleted file]
playground/jsx-router-pinia-with-tests/vite.config.js [deleted file]
playground/jsx-router-pinia/.gitignore [deleted file]
playground/jsx-router-pinia/README.md [deleted file]
playground/jsx-router-pinia/index.html [deleted file]
playground/jsx-router-pinia/package.json [deleted file]
playground/jsx-router-pinia/public/favicon.ico [deleted file]
playground/jsx-router-pinia/src/App.vue [deleted file]
playground/jsx-router-pinia/src/assets/base.css [deleted file]
playground/jsx-router-pinia/src/assets/logo.svg [deleted file]
playground/jsx-router-pinia/src/components/HelloWorld.vue [deleted file]
playground/jsx-router-pinia/src/components/TheWelcome.vue [deleted file]
playground/jsx-router-pinia/src/components/WelcomeItem.vue [deleted file]
playground/jsx-router-pinia/src/components/icons/IconCommunity.vue [deleted file]
playground/jsx-router-pinia/src/components/icons/IconDocumentation.vue [deleted file]
playground/jsx-router-pinia/src/components/icons/IconEcosystem.vue [deleted file]
playground/jsx-router-pinia/src/components/icons/IconSupport.vue [deleted file]
playground/jsx-router-pinia/src/components/icons/IconTooling.vue [deleted file]
playground/jsx-router-pinia/src/main.js [deleted file]
playground/jsx-router-pinia/src/router/index.js [deleted file]
playground/jsx-router-pinia/src/stores/counter.js [deleted file]
playground/jsx-router-pinia/src/views/AboutView.vue [deleted file]
playground/jsx-router-pinia/src/views/HomeView.vue [deleted file]
playground/jsx-router-pinia/vite.config.js [deleted file]
playground/jsx-router-with-tests/.gitignore [deleted file]
playground/jsx-router-with-tests/README.md [deleted file]
playground/jsx-router-with-tests/cypress.json [deleted file]
playground/jsx-router-with-tests/cypress/fixtures/example.json [deleted file]
playground/jsx-router-with-tests/cypress/integration/example.spec.js [deleted file]
playground/jsx-router-with-tests/cypress/jsconfig.json [deleted file]
playground/jsx-router-with-tests/cypress/plugins/index.js [deleted file]
playground/jsx-router-with-tests/cypress/support/commands.js [deleted file]
playground/jsx-router-with-tests/cypress/support/index.js [deleted file]
playground/jsx-router-with-tests/index.html [deleted file]
playground/jsx-router-with-tests/package.json [deleted file]
playground/jsx-router-with-tests/public/favicon.ico [deleted file]
playground/jsx-router-with-tests/src/App.vue [deleted file]
playground/jsx-router-with-tests/src/assets/base.css [deleted file]
playground/jsx-router-with-tests/src/assets/logo.svg [deleted file]
playground/jsx-router-with-tests/src/components/HelloWorld.vue [deleted file]
playground/jsx-router-with-tests/src/components/TheWelcome.vue [deleted file]
playground/jsx-router-with-tests/src/components/WelcomeItem.vue [deleted file]
playground/jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.js [deleted file]
playground/jsx-router-with-tests/src/components/icons/IconCommunity.vue [deleted file]
playground/jsx-router-with-tests/src/components/icons/IconDocumentation.vue [deleted file]
playground/jsx-router-with-tests/src/components/icons/IconEcosystem.vue [deleted file]
playground/jsx-router-with-tests/src/components/icons/IconSupport.vue [deleted file]
playground/jsx-router-with-tests/src/components/icons/IconTooling.vue [deleted file]
playground/jsx-router-with-tests/src/main.js [deleted file]
playground/jsx-router-with-tests/src/router/index.js [deleted file]
playground/jsx-router-with-tests/src/views/AboutView.vue [deleted file]
playground/jsx-router-with-tests/src/views/HomeView.vue [deleted file]
playground/jsx-router-with-tests/vite.config.js [deleted file]
playground/jsx-router/.gitignore [deleted file]
playground/jsx-router/README.md [deleted file]
playground/jsx-router/index.html [deleted file]
playground/jsx-router/package.json [deleted file]
playground/jsx-router/public/favicon.ico [deleted file]
playground/jsx-router/src/App.vue [deleted file]
playground/jsx-router/src/assets/base.css [deleted file]
playground/jsx-router/src/assets/logo.svg [deleted file]
playground/jsx-router/src/components/HelloWorld.vue [deleted file]
playground/jsx-router/src/components/TheWelcome.vue [deleted file]
playground/jsx-router/src/components/WelcomeItem.vue [deleted file]
playground/jsx-router/src/components/icons/IconCommunity.vue [deleted file]
playground/jsx-router/src/components/icons/IconDocumentation.vue [deleted file]
playground/jsx-router/src/components/icons/IconEcosystem.vue [deleted file]
playground/jsx-router/src/components/icons/IconSupport.vue [deleted file]
playground/jsx-router/src/components/icons/IconTooling.vue [deleted file]
playground/jsx-router/src/main.js [deleted file]
playground/jsx-router/src/router/index.js [deleted file]
playground/jsx-router/src/views/AboutView.vue [deleted file]
playground/jsx-router/src/views/HomeView.vue [deleted file]
playground/jsx-router/vite.config.js [deleted file]
playground/jsx-with-tests/.gitignore [deleted file]
playground/jsx-with-tests/README.md [deleted file]
playground/jsx-with-tests/cypress.json [deleted file]
playground/jsx-with-tests/cypress/fixtures/example.json [deleted file]
playground/jsx-with-tests/cypress/integration/example.spec.js [deleted file]
playground/jsx-with-tests/cypress/jsconfig.json [deleted file]
playground/jsx-with-tests/cypress/plugins/index.js [deleted file]
playground/jsx-with-tests/cypress/support/commands.js [deleted file]
playground/jsx-with-tests/cypress/support/index.js [deleted file]
playground/jsx-with-tests/index.html [deleted file]
playground/jsx-with-tests/package.json [deleted file]
playground/jsx-with-tests/public/favicon.ico [deleted file]
playground/jsx-with-tests/src/App.vue [deleted file]
playground/jsx-with-tests/src/assets/base.css [deleted file]
playground/jsx-with-tests/src/assets/logo.svg [deleted file]
playground/jsx-with-tests/src/components/HelloWorld.vue [deleted file]
playground/jsx-with-tests/src/components/TheWelcome.vue [deleted file]
playground/jsx-with-tests/src/components/WelcomeItem.vue [deleted file]
playground/jsx-with-tests/src/components/__tests__/HelloWorld.spec.js [deleted file]
playground/jsx-with-tests/src/components/icons/IconCommunity.vue [deleted file]
playground/jsx-with-tests/src/components/icons/IconDocumentation.vue [deleted file]
playground/jsx-with-tests/src/components/icons/IconEcosystem.vue [deleted file]
playground/jsx-with-tests/src/components/icons/IconSupport.vue [deleted file]
playground/jsx-with-tests/src/components/icons/IconTooling.vue [deleted file]
playground/jsx-with-tests/src/main.js [deleted file]
playground/jsx-with-tests/vite.config.js [deleted file]
playground/jsx/.gitignore [deleted file]
playground/jsx/README.md [deleted file]
playground/jsx/index.html [deleted file]
playground/jsx/package.json [deleted file]
playground/jsx/public/favicon.ico [deleted file]
playground/jsx/src/App.vue [deleted file]
playground/jsx/src/assets/base.css [deleted file]
playground/jsx/src/assets/logo.svg [deleted file]
playground/jsx/src/components/HelloWorld.vue [deleted file]
playground/jsx/src/components/TheWelcome.vue [deleted file]
playground/jsx/src/components/WelcomeItem.vue [deleted file]
playground/jsx/src/components/icons/IconCommunity.vue [deleted file]
playground/jsx/src/components/icons/IconDocumentation.vue [deleted file]
playground/jsx/src/components/icons/IconEcosystem.vue [deleted file]
playground/jsx/src/components/icons/IconSupport.vue [deleted file]
playground/jsx/src/components/icons/IconTooling.vue [deleted file]
playground/jsx/src/main.js [deleted file]
playground/jsx/vite.config.js [deleted file]
playground/pinia-with-tests/package.json
playground/pinia-with-tests/src/App.vue
playground/pinia-with-tests/src/components/HelloWorld.vue
playground/pinia-with-tests/src/components/TheWelcome.vue
playground/pinia-with-tests/src/components/__tests__/HelloWorld.spec.js
playground/pinia-with-tests/src/main.js
playground/pinia-with-tests/vite.config.js
playground/pinia/package.json
playground/pinia/src/App.vue
playground/pinia/src/components/HelloWorld.vue
playground/pinia/src/components/TheWelcome.vue
playground/pinia/src/main.js
playground/pinia/vite.config.js
playground/router-pinia-with-tests/package.json
playground/router-pinia-with-tests/src/App.vue
playground/router-pinia-with-tests/src/components/HelloWorld.vue
playground/router-pinia-with-tests/src/components/TheWelcome.vue
playground/router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js
playground/router-pinia-with-tests/src/main.js
playground/router-pinia-with-tests/src/router/index.js
playground/router-pinia-with-tests/vite.config.js
playground/router-pinia/package.json
playground/router-pinia/src/App.vue
playground/router-pinia/src/components/HelloWorld.vue
playground/router-pinia/src/components/TheWelcome.vue
playground/router-pinia/src/main.js
playground/router-pinia/src/router/index.js
playground/router-pinia/vite.config.js
playground/router-with-tests/package.json
playground/router-with-tests/src/App.vue
playground/router-with-tests/src/components/HelloWorld.vue
playground/router-with-tests/src/components/TheWelcome.vue
playground/router-with-tests/src/components/__tests__/HelloWorld.spec.js
playground/router-with-tests/src/main.js
playground/router-with-tests/src/router/index.js
playground/router-with-tests/vite.config.js
playground/router/package.json
playground/router/src/App.vue
playground/router/src/components/HelloWorld.vue
playground/router/src/components/TheWelcome.vue
playground/router/src/main.js
playground/router/src/router/index.js
playground/router/vite.config.js
playground/typescript-jsx-pinia-with-tests/.gitignore [deleted file]
playground/typescript-jsx-pinia-with-tests/README.md [deleted file]
playground/typescript-jsx-pinia-with-tests/cypress.json [deleted file]
playground/typescript-jsx-pinia-with-tests/cypress/fixtures/example.json [deleted file]
playground/typescript-jsx-pinia-with-tests/cypress/integration/example.spec.ts [deleted file]
playground/typescript-jsx-pinia-with-tests/cypress/plugins/index.ts [deleted file]
playground/typescript-jsx-pinia-with-tests/cypress/support/commands.ts [deleted file]
playground/typescript-jsx-pinia-with-tests/cypress/support/index.ts [deleted file]
playground/typescript-jsx-pinia-with-tests/cypress/tsconfig.json [deleted file]
playground/typescript-jsx-pinia-with-tests/env.d.ts [deleted file]
playground/typescript-jsx-pinia-with-tests/index.html [deleted file]
playground/typescript-jsx-pinia-with-tests/package.json [deleted file]
playground/typescript-jsx-pinia-with-tests/public/favicon.ico [deleted file]
playground/typescript-jsx-pinia-with-tests/src/App.vue [deleted file]
playground/typescript-jsx-pinia-with-tests/src/assets/base.css [deleted file]
playground/typescript-jsx-pinia-with-tests/src/assets/logo.svg [deleted file]
playground/typescript-jsx-pinia-with-tests/src/components/HelloWorld.vue [deleted file]
playground/typescript-jsx-pinia-with-tests/src/components/TheWelcome.vue [deleted file]
playground/typescript-jsx-pinia-with-tests/src/components/WelcomeItem.vue [deleted file]
playground/typescript-jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts [deleted file]
playground/typescript-jsx-pinia-with-tests/src/components/icons/IconCommunity.vue [deleted file]
playground/typescript-jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue [deleted file]
playground/typescript-jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue [deleted file]
playground/typescript-jsx-pinia-with-tests/src/components/icons/IconSupport.vue [deleted file]
playground/typescript-jsx-pinia-with-tests/src/components/icons/IconTooling.vue [deleted file]
playground/typescript-jsx-pinia-with-tests/src/main.ts [deleted file]
playground/typescript-jsx-pinia-with-tests/src/stores/counter.ts [deleted file]
playground/typescript-jsx-pinia-with-tests/tsconfig.json [deleted file]
playground/typescript-jsx-pinia-with-tests/vite.config.ts [deleted file]
playground/typescript-jsx-pinia/.gitignore [deleted file]
playground/typescript-jsx-pinia/README.md [deleted file]
playground/typescript-jsx-pinia/env.d.ts [deleted file]
playground/typescript-jsx-pinia/index.html [deleted file]
playground/typescript-jsx-pinia/package.json [deleted file]
playground/typescript-jsx-pinia/public/favicon.ico [deleted file]
playground/typescript-jsx-pinia/src/App.vue [deleted file]
playground/typescript-jsx-pinia/src/assets/base.css [deleted file]
playground/typescript-jsx-pinia/src/assets/logo.svg [deleted file]
playground/typescript-jsx-pinia/src/components/HelloWorld.vue [deleted file]
playground/typescript-jsx-pinia/src/components/TheWelcome.vue [deleted file]
playground/typescript-jsx-pinia/src/components/WelcomeItem.vue [deleted file]
playground/typescript-jsx-pinia/src/components/icons/IconCommunity.vue [deleted file]
playground/typescript-jsx-pinia/src/components/icons/IconDocumentation.vue [deleted file]
playground/typescript-jsx-pinia/src/components/icons/IconEcosystem.vue [deleted file]
playground/typescript-jsx-pinia/src/components/icons/IconSupport.vue [deleted file]
playground/typescript-jsx-pinia/src/components/icons/IconTooling.vue [deleted file]
playground/typescript-jsx-pinia/src/main.ts [deleted file]
playground/typescript-jsx-pinia/src/stores/counter.ts [deleted file]
playground/typescript-jsx-pinia/tsconfig.json [deleted file]
playground/typescript-jsx-pinia/vite.config.ts [deleted file]
playground/typescript-jsx-router-pinia-with-tests/.gitignore [deleted file]
playground/typescript-jsx-router-pinia-with-tests/README.md [deleted file]
playground/typescript-jsx-router-pinia-with-tests/cypress.json [deleted file]
playground/typescript-jsx-router-pinia-with-tests/cypress/fixtures/example.json [deleted file]
playground/typescript-jsx-router-pinia-with-tests/cypress/integration/example.spec.ts [deleted file]
playground/typescript-jsx-router-pinia-with-tests/cypress/plugins/index.ts [deleted file]
playground/typescript-jsx-router-pinia-with-tests/cypress/support/commands.ts [deleted file]
playground/typescript-jsx-router-pinia-with-tests/cypress/support/index.ts [deleted file]
playground/typescript-jsx-router-pinia-with-tests/cypress/tsconfig.json [deleted file]
playground/typescript-jsx-router-pinia-with-tests/env.d.ts [deleted file]
playground/typescript-jsx-router-pinia-with-tests/index.html [deleted file]
playground/typescript-jsx-router-pinia-with-tests/package.json [deleted file]
playground/typescript-jsx-router-pinia-with-tests/public/favicon.ico [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/App.vue [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/assets/base.css [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/assets/logo.svg [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/components/HelloWorld.vue [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/components/TheWelcome.vue [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/components/WelcomeItem.vue [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/main.ts [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/router/index.ts [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/stores/counter.ts [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/views/AboutView.vue [deleted file]
playground/typescript-jsx-router-pinia-with-tests/src/views/HomeView.vue [deleted file]
playground/typescript-jsx-router-pinia-with-tests/tsconfig.json [deleted file]
playground/typescript-jsx-router-pinia-with-tests/vite.config.ts [deleted file]
playground/typescript-jsx-router-pinia/.gitignore [deleted file]
playground/typescript-jsx-router-pinia/README.md [deleted file]
playground/typescript-jsx-router-pinia/env.d.ts [deleted file]
playground/typescript-jsx-router-pinia/index.html [deleted file]
playground/typescript-jsx-router-pinia/package.json [deleted file]
playground/typescript-jsx-router-pinia/public/favicon.ico [deleted file]
playground/typescript-jsx-router-pinia/src/App.vue [deleted file]
playground/typescript-jsx-router-pinia/src/assets/base.css [deleted file]
playground/typescript-jsx-router-pinia/src/assets/logo.svg [deleted file]
playground/typescript-jsx-router-pinia/src/components/HelloWorld.vue [deleted file]
playground/typescript-jsx-router-pinia/src/components/TheWelcome.vue [deleted file]
playground/typescript-jsx-router-pinia/src/components/WelcomeItem.vue [deleted file]
playground/typescript-jsx-router-pinia/src/components/icons/IconCommunity.vue [deleted file]
playground/typescript-jsx-router-pinia/src/components/icons/IconDocumentation.vue [deleted file]
playground/typescript-jsx-router-pinia/src/components/icons/IconEcosystem.vue [deleted file]
playground/typescript-jsx-router-pinia/src/components/icons/IconSupport.vue [deleted file]
playground/typescript-jsx-router-pinia/src/components/icons/IconTooling.vue [deleted file]
playground/typescript-jsx-router-pinia/src/main.ts [deleted file]
playground/typescript-jsx-router-pinia/src/router/index.ts [deleted file]
playground/typescript-jsx-router-pinia/src/stores/counter.ts [deleted file]
playground/typescript-jsx-router-pinia/src/views/AboutView.vue [deleted file]
playground/typescript-jsx-router-pinia/src/views/HomeView.vue [deleted file]
playground/typescript-jsx-router-pinia/tsconfig.json [deleted file]
playground/typescript-jsx-router-pinia/vite.config.ts [deleted file]
playground/typescript-jsx-router-with-tests/.gitignore [deleted file]
playground/typescript-jsx-router-with-tests/README.md [deleted file]
playground/typescript-jsx-router-with-tests/cypress.json [deleted file]
playground/typescript-jsx-router-with-tests/cypress/fixtures/example.json [deleted file]
playground/typescript-jsx-router-with-tests/cypress/integration/example.spec.ts [deleted file]
playground/typescript-jsx-router-with-tests/cypress/plugins/index.ts [deleted file]
playground/typescript-jsx-router-with-tests/cypress/support/commands.ts [deleted file]
playground/typescript-jsx-router-with-tests/cypress/support/index.ts [deleted file]
playground/typescript-jsx-router-with-tests/cypress/tsconfig.json [deleted file]
playground/typescript-jsx-router-with-tests/env.d.ts [deleted file]
playground/typescript-jsx-router-with-tests/index.html [deleted file]
playground/typescript-jsx-router-with-tests/package.json [deleted file]
playground/typescript-jsx-router-with-tests/public/favicon.ico [deleted file]
playground/typescript-jsx-router-with-tests/src/App.vue [deleted file]
playground/typescript-jsx-router-with-tests/src/assets/base.css [deleted file]
playground/typescript-jsx-router-with-tests/src/assets/logo.svg [deleted file]
playground/typescript-jsx-router-with-tests/src/components/HelloWorld.vue [deleted file]
playground/typescript-jsx-router-with-tests/src/components/TheWelcome.vue [deleted file]
playground/typescript-jsx-router-with-tests/src/components/WelcomeItem.vue [deleted file]
playground/typescript-jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.ts [deleted file]
playground/typescript-jsx-router-with-tests/src/components/icons/IconCommunity.vue [deleted file]
playground/typescript-jsx-router-with-tests/src/components/icons/IconDocumentation.vue [deleted file]
playground/typescript-jsx-router-with-tests/src/components/icons/IconEcosystem.vue [deleted file]
playground/typescript-jsx-router-with-tests/src/components/icons/IconSupport.vue [deleted file]
playground/typescript-jsx-router-with-tests/src/components/icons/IconTooling.vue [deleted file]
playground/typescript-jsx-router-with-tests/src/main.ts [deleted file]
playground/typescript-jsx-router-with-tests/src/router/index.ts [deleted file]
playground/typescript-jsx-router-with-tests/src/views/AboutView.vue [deleted file]
playground/typescript-jsx-router-with-tests/src/views/HomeView.vue [deleted file]
playground/typescript-jsx-router-with-tests/tsconfig.json [deleted file]
playground/typescript-jsx-router-with-tests/vite.config.ts [deleted file]
playground/typescript-jsx-router/.gitignore [deleted file]
playground/typescript-jsx-router/README.md [deleted file]
playground/typescript-jsx-router/env.d.ts [deleted file]
playground/typescript-jsx-router/index.html [deleted file]
playground/typescript-jsx-router/package.json [deleted file]
playground/typescript-jsx-router/public/favicon.ico [deleted file]
playground/typescript-jsx-router/src/App.vue [deleted file]
playground/typescript-jsx-router/src/assets/base.css [deleted file]
playground/typescript-jsx-router/src/assets/logo.svg [deleted file]
playground/typescript-jsx-router/src/components/HelloWorld.vue [deleted file]
playground/typescript-jsx-router/src/components/TheWelcome.vue [deleted file]
playground/typescript-jsx-router/src/components/WelcomeItem.vue [deleted file]
playground/typescript-jsx-router/src/components/icons/IconCommunity.vue [deleted file]
playground/typescript-jsx-router/src/components/icons/IconDocumentation.vue [deleted file]
playground/typescript-jsx-router/src/components/icons/IconEcosystem.vue [deleted file]
playground/typescript-jsx-router/src/components/icons/IconSupport.vue [deleted file]
playground/typescript-jsx-router/src/components/icons/IconTooling.vue [deleted file]
playground/typescript-jsx-router/src/main.ts [deleted file]
playground/typescript-jsx-router/src/router/index.ts [deleted file]
playground/typescript-jsx-router/src/views/AboutView.vue [deleted file]
playground/typescript-jsx-router/src/views/HomeView.vue [deleted file]
playground/typescript-jsx-router/tsconfig.json [deleted file]
playground/typescript-jsx-router/vite.config.ts [deleted file]
playground/typescript-jsx-with-tests/.gitignore [deleted file]
playground/typescript-jsx-with-tests/README.md [deleted file]
playground/typescript-jsx-with-tests/cypress.json [deleted file]
playground/typescript-jsx-with-tests/cypress/fixtures/example.json [deleted file]
playground/typescript-jsx-with-tests/cypress/integration/example.spec.ts [deleted file]
playground/typescript-jsx-with-tests/cypress/plugins/index.ts [deleted file]
playground/typescript-jsx-with-tests/cypress/support/commands.ts [deleted file]
playground/typescript-jsx-with-tests/cypress/support/index.ts [deleted file]
playground/typescript-jsx-with-tests/cypress/tsconfig.json [deleted file]
playground/typescript-jsx-with-tests/env.d.ts [deleted file]
playground/typescript-jsx-with-tests/index.html [deleted file]
playground/typescript-jsx-with-tests/package.json [deleted file]
playground/typescript-jsx-with-tests/public/favicon.ico [deleted file]
playground/typescript-jsx-with-tests/src/App.vue [deleted file]
playground/typescript-jsx-with-tests/src/assets/base.css [deleted file]
playground/typescript-jsx-with-tests/src/assets/logo.svg [deleted file]
playground/typescript-jsx-with-tests/src/components/HelloWorld.vue [deleted file]
playground/typescript-jsx-with-tests/src/components/TheWelcome.vue [deleted file]
playground/typescript-jsx-with-tests/src/components/WelcomeItem.vue [deleted file]
playground/typescript-jsx-with-tests/src/components/__tests__/HelloWorld.spec.ts [deleted file]
playground/typescript-jsx-with-tests/src/components/icons/IconCommunity.vue [deleted file]
playground/typescript-jsx-with-tests/src/components/icons/IconDocumentation.vue [deleted file]
playground/typescript-jsx-with-tests/src/components/icons/IconEcosystem.vue [deleted file]
playground/typescript-jsx-with-tests/src/components/icons/IconSupport.vue [deleted file]
playground/typescript-jsx-with-tests/src/components/icons/IconTooling.vue [deleted file]
playground/typescript-jsx-with-tests/src/main.ts [deleted file]
playground/typescript-jsx-with-tests/tsconfig.json [deleted file]
playground/typescript-jsx-with-tests/vite.config.ts [deleted file]
playground/typescript-jsx/.gitignore [deleted file]
playground/typescript-jsx/README.md [deleted file]
playground/typescript-jsx/env.d.ts [deleted file]
playground/typescript-jsx/index.html [deleted file]
playground/typescript-jsx/package.json [deleted file]
playground/typescript-jsx/public/favicon.ico [deleted file]
playground/typescript-jsx/src/App.vue [deleted file]
playground/typescript-jsx/src/assets/base.css [deleted file]
playground/typescript-jsx/src/assets/logo.svg [deleted file]
playground/typescript-jsx/src/components/HelloWorld.vue [deleted file]
playground/typescript-jsx/src/components/TheWelcome.vue [deleted file]
playground/typescript-jsx/src/components/WelcomeItem.vue [deleted file]
playground/typescript-jsx/src/components/icons/IconCommunity.vue [deleted file]
playground/typescript-jsx/src/components/icons/IconDocumentation.vue [deleted file]
playground/typescript-jsx/src/components/icons/IconEcosystem.vue [deleted file]
playground/typescript-jsx/src/components/icons/IconSupport.vue [deleted file]
playground/typescript-jsx/src/components/icons/IconTooling.vue [deleted file]
playground/typescript-jsx/src/main.ts [deleted file]
playground/typescript-jsx/tsconfig.json [deleted file]
playground/typescript-jsx/vite.config.ts [deleted file]
playground/typescript-pinia-with-tests/env.d.ts
playground/typescript-pinia-with-tests/package.json
playground/typescript-pinia-with-tests/src/App.vue
playground/typescript-pinia-with-tests/src/components/HelloWorld.vue
playground/typescript-pinia-with-tests/src/components/TheWelcome.vue
playground/typescript-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts
playground/typescript-pinia-with-tests/src/main.ts
playground/typescript-pinia-with-tests/tsconfig.json
playground/typescript-pinia-with-tests/vite.config.ts
playground/typescript-pinia/env.d.ts
playground/typescript-pinia/package.json
playground/typescript-pinia/src/App.vue
playground/typescript-pinia/src/components/HelloWorld.vue
playground/typescript-pinia/src/components/TheWelcome.vue
playground/typescript-pinia/src/main.ts
playground/typescript-pinia/tsconfig.json
playground/typescript-pinia/vite.config.ts
playground/typescript-router-pinia-with-tests/env.d.ts
playground/typescript-router-pinia-with-tests/package.json
playground/typescript-router-pinia-with-tests/src/App.vue
playground/typescript-router-pinia-with-tests/src/components/HelloWorld.vue
playground/typescript-router-pinia-with-tests/src/components/TheWelcome.vue
playground/typescript-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts
playground/typescript-router-pinia-with-tests/src/main.ts
playground/typescript-router-pinia-with-tests/src/router/index.ts
playground/typescript-router-pinia-with-tests/tsconfig.json
playground/typescript-router-pinia-with-tests/vite.config.ts
playground/typescript-router-pinia/env.d.ts
playground/typescript-router-pinia/package.json
playground/typescript-router-pinia/src/App.vue
playground/typescript-router-pinia/src/components/HelloWorld.vue
playground/typescript-router-pinia/src/components/TheWelcome.vue
playground/typescript-router-pinia/src/main.ts
playground/typescript-router-pinia/src/router/index.ts
playground/typescript-router-pinia/tsconfig.json
playground/typescript-router-pinia/vite.config.ts
playground/typescript-router-with-tests/env.d.ts
playground/typescript-router-with-tests/package.json
playground/typescript-router-with-tests/src/App.vue
playground/typescript-router-with-tests/src/components/HelloWorld.vue
playground/typescript-router-with-tests/src/components/TheWelcome.vue
playground/typescript-router-with-tests/src/components/__tests__/HelloWorld.spec.ts
playground/typescript-router-with-tests/src/main.ts
playground/typescript-router-with-tests/src/router/index.ts
playground/typescript-router-with-tests/tsconfig.json
playground/typescript-router-with-tests/vite.config.ts
playground/typescript-router/env.d.ts
playground/typescript-router/package.json
playground/typescript-router/src/App.vue
playground/typescript-router/src/components/HelloWorld.vue
playground/typescript-router/src/components/TheWelcome.vue
playground/typescript-router/src/main.ts
playground/typescript-router/src/router/index.ts
playground/typescript-router/tsconfig.json
playground/typescript-router/vite.config.ts
playground/typescript-with-tests/env.d.ts
playground/typescript-with-tests/package.json
playground/typescript-with-tests/src/App.vue
playground/typescript-with-tests/src/components/HelloWorld.vue
playground/typescript-with-tests/src/components/TheWelcome.vue
playground/typescript-with-tests/src/components/__tests__/HelloWorld.spec.ts
playground/typescript-with-tests/src/main.ts
playground/typescript-with-tests/tsconfig.json
playground/typescript-with-tests/vite.config.ts
playground/typescript/env.d.ts
playground/typescript/package.json
playground/typescript/src/App.vue
playground/typescript/src/components/HelloWorld.vue
playground/typescript/src/components/TheWelcome.vue
playground/typescript/src/main.ts
playground/typescript/tsconfig.json
playground/typescript/vite.config.ts
playground/with-tests/package.json
playground/with-tests/src/App.vue
playground/with-tests/src/components/HelloWorld.vue
playground/with-tests/src/components/TheWelcome.vue
playground/with-tests/src/components/__tests__/HelloWorld.spec.js
playground/with-tests/src/main.js
playground/with-tests/vite.config.js
pnpm-lock.yaml
snapshot.js
template/base/package.json
template/base/vite.config.js
template/code/default/src/App.vue
template/code/default/src/components/HelloWorld.vue
template/code/default/src/components/TheWelcome.vue
template/code/default/src/components/__tests__/HelloWorld.spec.js
template/code/router/src/App.vue
template/code/router/src/components/HelloWorld.vue
template/code/router/src/components/TheWelcome.vue
template/code/router/src/components/__tests__/HelloWorld.spec.js
template/code/router/src/router/index.js
template/code/typescript-default/src/App.vue
template/code/typescript-default/src/components/HelloWorld.vue
template/code/typescript-default/src/components/TheWelcome.vue
template/code/typescript-default/src/components/__tests__/HelloWorld.spec.ts
template/code/typescript-router/src/App.vue
template/code/typescript-router/src/components/HelloWorld.vue
template/code/typescript-router/src/components/TheWelcome.vue
template/code/typescript-router/src/components/__tests__/HelloWorld.spec.ts
template/code/typescript-router/src/main.ts [deleted file]
template/code/typescript-router/src/router/index.ts
template/config/cypress/package.json
template/config/jsx/package.json [deleted file]
template/config/jsx/vite.config.js [deleted file]
template/config/router/package.json
template/config/typescript/env.d.ts
template/config/typescript/tsconfig.json
template/config/vuex/package.json [deleted file]
template/config/vuex/src/store/index.js [deleted file]
template/entry/default/src/main.js
template/entry/pinia/src/main.js
template/entry/router-and-pinia/src/main.js
template/entry/router/src/main.js
utils/generateReadme.js

index 4aeebbe52d23a205e7a2d1a14dacd1fecf1a8194..1f4c43fe20f310b51c43a2aa3b6c7aecd59497a9 100755 (executable)
--- a/index.js
+++ b/index.js
@@ -43,7 +43,6 @@ async function init() {
   // possible options:
   // --default
   // --typescript / --ts
-  // --jsx
   // --router / --vue-router
   // --pinia
   // --with-tests / --tests / --cypress
@@ -61,8 +60,7 @@ async function init() {
   // if any of the feature flags is set, we would skip the feature prompts
   // use `??` instead of `||` once we drop Node.js 12 support
   const isFeatureFlagsUsed =
-    typeof (argv.default || argv.ts || argv.jsx || argv.router || argv.pinia || argv.tests) ===
-    'boolean'
+    typeof (argv.default || argv.ts || argv.router || argv.pinia || argv.tests) === 'boolean'
 
   let targetDir = argv._[0]
   const defaultProjectName = !targetDir ? 'vue-project' : targetDir
@@ -77,7 +75,6 @@ async function init() {
     //   - whether to overwrite the existing directory or not?
     //   - enter a valid package name for package.json
     // - Project language: JavaScript / TypeScript
-    // - Add JSX Support?
     // - Install Vue Router for SPA development?
     // - Install Pinia for state management?
     // - Add Cypress for testing?
@@ -124,14 +121,6 @@ async function init() {
           active: 'Yes',
           inactive: 'No'
         },
-        {
-          name: 'needsJsx',
-          type: () => (isFeatureFlagsUsed ? null : 'toggle'),
-          message: 'Add JSX Support?',
-          initial: false,
-          active: 'Yes',
-          inactive: 'No'
-        },
         {
           name: 'needsRouter',
           type: () => (isFeatureFlagsUsed ? null : 'toggle'),
@@ -173,7 +162,6 @@ async function init() {
   const {
     packageName = toValidPackageName(defaultProjectName),
     shouldOverwrite,
-    needsJsx = argv.jsx,
     needsTypeScript = argv.typescript,
     needsRouter = argv.router,
     needsPinia = argv.pinia,
@@ -206,9 +194,6 @@ async function init() {
   render('base')
 
   // Add configs.
-  if (needsJsx) {
-    render('config/jsx')
-  }
   if (needsRouter) {
     render('config/router')
   }
index 0a39012596be9c733e28df6fb3da684815b2bd6b..113d62f404e4234bd15dfb4288ad1acd9babebe2 100644 (file)
@@ -7,10 +7,14 @@
     "preview": "vite preview --port 5050"
   },
   "dependencies": {
-    "vue": "^3.2.22"
+    "@vue/composition-api": "^1.4.0",
+    "vue": "^2.6.14"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.10.0",
-    "vite": "^2.6.14"
+    "@vue/runtime-dom": "^3.2.22",
+    "unplugin-vue2-script-setup": "^0.7.1",
+    "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14"
   }
 }
index b0b6901bf5d8bd252c01b735605f50569c258095..099c613b1ea07f5a3a97471c114c43e7b0a99904 100644 (file)
@@ -4,17 +4,19 @@ import TheWelcome from './components/TheWelcome.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
 
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+      </div>
+    </header>
 
-  <main>
-    <TheWelcome />
-  </main>
+    <main>
+      <TheWelcome />
+    </main>
+  </div>
 </template>
 
 <style>
index aa16fa1fb036bc5423c56f4fe214ac458a2f8661..246beb3466e8f9822e679fedc6dd6008de63a123 100644 (file)
@@ -13,7 +13,7 @@ defineProps({
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index 1d003f8669af790635e6c7254c4c4469fff1f02a..d63a553b9e2c71038b4013797bd97b4bc40466ca 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index 01433bca2ac76590c48fabfee8d69d7b223f48bb..437d7358011b2fed73c87fd0f64018754ed96190 100644 (file)
@@ -1,4 +1,12 @@
-import { createApp } from 'vue'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+
 import App from './App.vue'
 
-createApp(App).mount('#app')
+Vue.use(VueCompositionAPI)
+
+const app = new Vue({
+  render: (h) => h(App)
+})
+
+app.$mount('#app')
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
diff --git a/playground/jsx-pinia-with-tests/.gitignore b/playground/jsx-pinia-with-tests/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/jsx-pinia-with-tests/README.md b/playground/jsx-pinia-with-tests/README.md
deleted file mode 100644 (file)
index 9e8bcaa..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-# jsx-pinia-with-tests
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Compile and Minify for Production
-
-```sh
-pnpm build
-```
-
-### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction)
-
-```sh
-pnpm test:unit # or `pnpm test:unit:ci` for headless testing
-```
-
-### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
-
-```sh
-pnpm build
-pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
-```
diff --git a/playground/jsx-pinia-with-tests/cypress.json b/playground/jsx-pinia-with-tests/cypress.json
deleted file mode 100644 (file)
index 3d37225..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "baseUrl": "http://localhost:5050",
-  "component": {
-    "componentFolder": "src",
-    "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}"
-  }
-}
diff --git a/playground/jsx-pinia-with-tests/cypress/fixtures/example.json b/playground/jsx-pinia-with-tests/cypress/fixtures/example.json
deleted file mode 100644 (file)
index 02e4254..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-  "name": "Using fixtures to represent data",
-  "email": "hello@cypress.io",
-  "body": "Fixtures are a great way to mock data for responses to routes"
-}
diff --git a/playground/jsx-pinia-with-tests/cypress/integration/example.spec.js b/playground/jsx-pinia-with-tests/cypress/integration/example.spec.js
deleted file mode 100644 (file)
index 7a8c909..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-// https://docs.cypress.io/api/introduction/api.html
-
-describe('My First Test', () => {
-  it('visits the app root url', () => {
-    cy.visit('/')
-    cy.contains('h1', 'You did it!')
-  })
-})
diff --git a/playground/jsx-pinia-with-tests/cypress/jsconfig.json b/playground/jsx-pinia-with-tests/cypress/jsconfig.json
deleted file mode 100644 (file)
index b5b2f97..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "compilerOptions": {
-    "target": "es5",
-    "lib": ["es5", "dom"],
-    "types": ["cypress"]
-  },
-  "include": ["./**/*"]
-}
diff --git a/playground/jsx-pinia-with-tests/cypress/plugins/index.js b/playground/jsx-pinia-with-tests/cypress/plugins/index.js
deleted file mode 100644 (file)
index ad2e351..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/// <reference types="cypress" />
-// ***********************************************************
-// This example plugins/index.js can be used to load plugins
-//
-// You can change the location of this file or turn off loading
-// the plugins file with the 'pluginsFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/plugins-guide
-// ***********************************************************
-
-// This function is called when a project is opened or re-opened (e.g. due to
-// the project's config changing)
-
-const { startDevServer } = require('@cypress/vite-dev-server')
-
-/**
- * @type {Cypress.PluginConfig}
- */
-// eslint-disable-next-line no-unused-vars
-module.exports = (on, config) => {
-  // `on` is used to hook into various events Cypress emits
-  // `config` is the resolved Cypress config
-  on('dev-server:start', (options) => {
-    return startDevServer({ options })
-  })
-  return config
-}
diff --git a/playground/jsx-pinia-with-tests/cypress/support/commands.js b/playground/jsx-pinia-with-tests/cypress/support/commands.js
deleted file mode 100644 (file)
index 119ab03..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// ***********************************************
-// This example commands.js shows you how to
-// create various custom commands and overwrite
-// existing commands.
-//
-// For more comprehensive examples of custom
-// commands please read more here:
-// https://on.cypress.io/custom-commands
-// ***********************************************
-//
-//
-// -- This is a parent command --
-// Cypress.Commands.add('login', (email, password) => { ... })
-//
-//
-// -- This is a child command --
-// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
-//
-//
-// -- This is a dual command --
-// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
-//
-//
-// -- This will overwrite an existing command --
-// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
diff --git a/playground/jsx-pinia-with-tests/cypress/support/index.js b/playground/jsx-pinia-with-tests/cypress/support/index.js
deleted file mode 100644 (file)
index d68db96..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// ***********************************************************
-// This example support/index.js is processed and
-// loaded automatically before your test files.
-//
-// This is a great place to put global configuration and
-// behavior that modifies Cypress.
-//
-// You can change the location of this file or turn off
-// automatically serving support files with the
-// 'supportFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/configuration
-// ***********************************************************
-
-// Import commands.js using ES2015 syntax:
-import './commands'
-
-// Alternatively you can use CommonJS syntax:
-// require('./commands')
diff --git a/playground/jsx-pinia-with-tests/index.html b/playground/jsx-pinia-with-tests/index.html
deleted file mode 100644 (file)
index 030a6ff..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.js"></script>
-  </body>
-</html>
diff --git a/playground/jsx-pinia-with-tests/package.json b/playground/jsx-pinia-with-tests/package.json
deleted file mode 100644 (file)
index 4d40b37..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-{
-  "name": "jsx-pinia-with-tests",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vite build",
-    "preview": "vite preview --port 5050",
-    "test:unit": "cypress open-ct",
-    "test:unit:ci": "cypress run-ct --quiet --reporter spec",
-    "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'"
-  },
-  "dependencies": {
-    "pinia": "^2.0.4",
-    "vue": "^3.2.22"
-  },
-  "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "cypress": "^8.7.0",
-    "start-server-and-test": "^1.14.0",
-    "vite": "^2.6.14"
-  }
-}
diff --git a/playground/jsx-pinia-with-tests/public/favicon.ico b/playground/jsx-pinia-with-tests/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/jsx-pinia-with-tests/public/favicon.ico and /dev/null differ
diff --git a/playground/jsx-pinia-with-tests/src/App.vue b/playground/jsx-pinia-with-tests/src/App.vue
deleted file mode 100644 (file)
index b0b6901..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<script setup>
-import HelloWorld from './components/HelloWorld.vue'
-import TheWelcome from './components/TheWelcome.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
-
-  <main>
-    <TheWelcome />
-  </main>
-</template>
-
-<style>
-@import './assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-}
-</style>
diff --git a/playground/jsx-pinia-with-tests/src/assets/base.css b/playground/jsx-pinia-with-tests/src/assets/base.css
deleted file mode 100644 (file)
index 5427a03..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dadarkrk-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/jsx-pinia-with-tests/src/assets/logo.svg b/playground/jsx-pinia-with-tests/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/jsx-pinia-with-tests/src/components/HelloWorld.vue b/playground/jsx-pinia-with-tests/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index aa16fa1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<script setup>
-defineProps({
-  msg: {
-    type: String,
-    required: true
-  }
-})
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/jsx-pinia-with-tests/src/components/TheWelcome.vue b/playground/jsx-pinia-with-tests/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index 1d003f8..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup>
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/jsx-pinia-with-tests/src/components/WelcomeItem.vue b/playground/jsx-pinia-with-tests/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js b/playground/jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js
deleted file mode 100644 (file)
index a69f3a9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-import { mount } from '@cypress/vue'
-import HelloWorld from '../HelloWorld.vue'
-
-describe('HelloWorld', () => {
-  it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-  })
-
-  it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-    cy.get('h1').should('contain', 'Hello Cypress')
-  })
-})
diff --git a/playground/jsx-pinia-with-tests/src/components/icons/IconCommunity.vue b/playground/jsx-pinia-with-tests/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue b/playground/jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue b/playground/jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-pinia-with-tests/src/components/icons/IconSupport.vue b/playground/jsx-pinia-with-tests/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-pinia-with-tests/src/components/icons/IconTooling.vue b/playground/jsx-pinia-with-tests/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/jsx-pinia-with-tests/src/main.js b/playground/jsx-pinia-with-tests/src/main.js
deleted file mode 100644 (file)
index 5f77a89..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
-import App from './App.vue'
-
-const app = createApp(App)
-
-app.use(createPinia())
-
-app.mount('#app')
diff --git a/playground/jsx-pinia-with-tests/src/stores/counter.js b/playground/jsx-pinia-with-tests/src/stores/counter.js
deleted file mode 100644 (file)
index 4a2d242..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-import { defineStore } from 'pinia'
-
-export const useCounterStore = defineStore({
-  id: 'counter',
-  state: () => ({
-    counter: 0
-  }),
-  getters: {
-    doubleCount: (state) => state.counter * 2
-  },
-  actions: {
-    increment() {
-      this.counter++
-    }
-  }
-})
diff --git a/playground/jsx-pinia-with-tests/vite.config.js b/playground/jsx-pinia-with-tests/vite.config.js
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/jsx-pinia/.gitignore b/playground/jsx-pinia/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/jsx-pinia/README.md b/playground/jsx-pinia/README.md
deleted file mode 100644 (file)
index 4f10fb5..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-# jsx-pinia
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Compile and Minify for Production
-
-```sh
-pnpm build
-```
diff --git a/playground/jsx-pinia/index.html b/playground/jsx-pinia/index.html
deleted file mode 100644 (file)
index 030a6ff..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.js"></script>
-  </body>
-</html>
diff --git a/playground/jsx-pinia/package.json b/playground/jsx-pinia/package.json
deleted file mode 100644 (file)
index 36d69f1..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-{
-  "name": "jsx-pinia",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vite build",
-    "preview": "vite preview --port 5050"
-  },
-  "dependencies": {
-    "pinia": "^2.0.4",
-    "vue": "^3.2.22"
-  },
-  "devDependencies": {
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "vite": "^2.6.14"
-  }
-}
diff --git a/playground/jsx-pinia/public/favicon.ico b/playground/jsx-pinia/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/jsx-pinia/public/favicon.ico and /dev/null differ
diff --git a/playground/jsx-pinia/src/App.vue b/playground/jsx-pinia/src/App.vue
deleted file mode 100644 (file)
index b0b6901..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<script setup>
-import HelloWorld from './components/HelloWorld.vue'
-import TheWelcome from './components/TheWelcome.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
-
-  <main>
-    <TheWelcome />
-  </main>
-</template>
-
-<style>
-@import './assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-}
-</style>
diff --git a/playground/jsx-pinia/src/assets/base.css b/playground/jsx-pinia/src/assets/base.css
deleted file mode 100644 (file)
index 5427a03..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dadarkrk-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/jsx-pinia/src/assets/logo.svg b/playground/jsx-pinia/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/jsx-pinia/src/components/HelloWorld.vue b/playground/jsx-pinia/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index aa16fa1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<script setup>
-defineProps({
-  msg: {
-    type: String,
-    required: true
-  }
-})
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/jsx-pinia/src/components/TheWelcome.vue b/playground/jsx-pinia/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index 1d003f8..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup>
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/jsx-pinia/src/components/WelcomeItem.vue b/playground/jsx-pinia/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/jsx-pinia/src/components/icons/IconCommunity.vue b/playground/jsx-pinia/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-pinia/src/components/icons/IconDocumentation.vue b/playground/jsx-pinia/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-pinia/src/components/icons/IconEcosystem.vue b/playground/jsx-pinia/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-pinia/src/components/icons/IconSupport.vue b/playground/jsx-pinia/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-pinia/src/components/icons/IconTooling.vue b/playground/jsx-pinia/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/jsx-pinia/src/main.js b/playground/jsx-pinia/src/main.js
deleted file mode 100644 (file)
index 5f77a89..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
-import App from './App.vue'
-
-const app = createApp(App)
-
-app.use(createPinia())
-
-app.mount('#app')
diff --git a/playground/jsx-pinia/src/stores/counter.js b/playground/jsx-pinia/src/stores/counter.js
deleted file mode 100644 (file)
index 4a2d242..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-import { defineStore } from 'pinia'
-
-export const useCounterStore = defineStore({
-  id: 'counter',
-  state: () => ({
-    counter: 0
-  }),
-  getters: {
-    doubleCount: (state) => state.counter * 2
-  },
-  actions: {
-    increment() {
-      this.counter++
-    }
-  }
-})
diff --git a/playground/jsx-pinia/vite.config.js b/playground/jsx-pinia/vite.config.js
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/jsx-router-pinia-with-tests/.gitignore b/playground/jsx-router-pinia-with-tests/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/jsx-router-pinia-with-tests/README.md b/playground/jsx-router-pinia-with-tests/README.md
deleted file mode 100644 (file)
index 10533b7..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-# jsx-router-pinia-with-tests
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Compile and Minify for Production
-
-```sh
-pnpm build
-```
-
-### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction)
-
-```sh
-pnpm test:unit # or `pnpm test:unit:ci` for headless testing
-```
-
-### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
-
-```sh
-pnpm build
-pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
-```
diff --git a/playground/jsx-router-pinia-with-tests/cypress.json b/playground/jsx-router-pinia-with-tests/cypress.json
deleted file mode 100644 (file)
index 3d37225..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "baseUrl": "http://localhost:5050",
-  "component": {
-    "componentFolder": "src",
-    "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}"
-  }
-}
diff --git a/playground/jsx-router-pinia-with-tests/cypress/fixtures/example.json b/playground/jsx-router-pinia-with-tests/cypress/fixtures/example.json
deleted file mode 100644 (file)
index 02e4254..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-  "name": "Using fixtures to represent data",
-  "email": "hello@cypress.io",
-  "body": "Fixtures are a great way to mock data for responses to routes"
-}
diff --git a/playground/jsx-router-pinia-with-tests/cypress/integration/example.spec.js b/playground/jsx-router-pinia-with-tests/cypress/integration/example.spec.js
deleted file mode 100644 (file)
index 13a2922..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// https://docs.cypress.io/api/introduction/api.html
-
-describe('My First Test', () => {
-  it('visits the app root url', () => {
-    cy.visit('/')
-    cy.contains('h1', 'You did it!')
-  })
-
-  it('navigates to the about page', () => {
-    cy.visit('/about')
-    cy.contains('h1', 'This is an about page')
-  })
-})
diff --git a/playground/jsx-router-pinia-with-tests/cypress/jsconfig.json b/playground/jsx-router-pinia-with-tests/cypress/jsconfig.json
deleted file mode 100644 (file)
index b5b2f97..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "compilerOptions": {
-    "target": "es5",
-    "lib": ["es5", "dom"],
-    "types": ["cypress"]
-  },
-  "include": ["./**/*"]
-}
diff --git a/playground/jsx-router-pinia-with-tests/cypress/plugins/index.js b/playground/jsx-router-pinia-with-tests/cypress/plugins/index.js
deleted file mode 100644 (file)
index ad2e351..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/// <reference types="cypress" />
-// ***********************************************************
-// This example plugins/index.js can be used to load plugins
-//
-// You can change the location of this file or turn off loading
-// the plugins file with the 'pluginsFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/plugins-guide
-// ***********************************************************
-
-// This function is called when a project is opened or re-opened (e.g. due to
-// the project's config changing)
-
-const { startDevServer } = require('@cypress/vite-dev-server')
-
-/**
- * @type {Cypress.PluginConfig}
- */
-// eslint-disable-next-line no-unused-vars
-module.exports = (on, config) => {
-  // `on` is used to hook into various events Cypress emits
-  // `config` is the resolved Cypress config
-  on('dev-server:start', (options) => {
-    return startDevServer({ options })
-  })
-  return config
-}
diff --git a/playground/jsx-router-pinia-with-tests/cypress/support/commands.js b/playground/jsx-router-pinia-with-tests/cypress/support/commands.js
deleted file mode 100644 (file)
index 119ab03..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// ***********************************************
-// This example commands.js shows you how to
-// create various custom commands and overwrite
-// existing commands.
-//
-// For more comprehensive examples of custom
-// commands please read more here:
-// https://on.cypress.io/custom-commands
-// ***********************************************
-//
-//
-// -- This is a parent command --
-// Cypress.Commands.add('login', (email, password) => { ... })
-//
-//
-// -- This is a child command --
-// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
-//
-//
-// -- This is a dual command --
-// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
-//
-//
-// -- This will overwrite an existing command --
-// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
diff --git a/playground/jsx-router-pinia-with-tests/cypress/support/index.js b/playground/jsx-router-pinia-with-tests/cypress/support/index.js
deleted file mode 100644 (file)
index d68db96..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// ***********************************************************
-// This example support/index.js is processed and
-// loaded automatically before your test files.
-//
-// This is a great place to put global configuration and
-// behavior that modifies Cypress.
-//
-// You can change the location of this file or turn off
-// automatically serving support files with the
-// 'supportFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/configuration
-// ***********************************************************
-
-// Import commands.js using ES2015 syntax:
-import './commands'
-
-// Alternatively you can use CommonJS syntax:
-// require('./commands')
diff --git a/playground/jsx-router-pinia-with-tests/index.html b/playground/jsx-router-pinia-with-tests/index.html
deleted file mode 100644 (file)
index 030a6ff..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.js"></script>
-  </body>
-</html>
diff --git a/playground/jsx-router-pinia-with-tests/package.json b/playground/jsx-router-pinia-with-tests/package.json
deleted file mode 100644 (file)
index a6a9f68..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-{
-  "name": "jsx-router-pinia-with-tests",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vite build",
-    "preview": "vite preview --port 5050",
-    "test:unit": "cypress open-ct",
-    "test:unit:ci": "cypress run-ct --quiet --reporter spec",
-    "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'"
-  },
-  "dependencies": {
-    "pinia": "^2.0.4",
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
-  },
-  "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "cypress": "^8.7.0",
-    "start-server-and-test": "^1.14.0",
-    "vite": "^2.6.14"
-  }
-}
diff --git a/playground/jsx-router-pinia-with-tests/public/favicon.ico b/playground/jsx-router-pinia-with-tests/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/jsx-router-pinia-with-tests/public/favicon.ico and /dev/null differ
diff --git a/playground/jsx-router-pinia-with-tests/src/App.vue b/playground/jsx-router-pinia-with-tests/src/App.vue
deleted file mode 100644 (file)
index 37edbaf..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-<script setup>
-import HelloWorld from '@/components/HelloWorld.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
-</template>
-
-<style>
-@import '@/assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-  max-height: 100vh;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-nav {
-  width: 100%;
-  font-size: 12px;
-  text-align: center;
-  margin-top: 2rem;
-}
-
-nav a.router-link-exact-active {
-  color: var(--color-text);
-}
-
-nav a.router-link-exact-active:hover {
-  background-color: transparent;
-}
-
-nav a {
-  display: inline-block;
-  padding: 0 1rem;
-  border-left: 1px solid var(--color-border);
-}
-
-nav a:first-of-type {
-  border: 0;
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-
-  nav {
-    text-align: left;
-    margin-left: -1rem;
-    font-size: 1rem;
-
-    padding: 1rem 0;
-    margin-top: 1rem;
-  }
-}
-</style>
diff --git a/playground/jsx-router-pinia-with-tests/src/assets/base.css b/playground/jsx-router-pinia-with-tests/src/assets/base.css
deleted file mode 100644 (file)
index 71dc55a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/jsx-router-pinia-with-tests/src/assets/logo.svg b/playground/jsx-router-pinia-with-tests/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/jsx-router-pinia-with-tests/src/components/HelloWorld.vue b/playground/jsx-router-pinia-with-tests/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index aa16fa1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<script setup>
-defineProps({
-  msg: {
-    type: String,
-    required: true
-  }
-})
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/jsx-router-pinia-with-tests/src/components/TheWelcome.vue b/playground/jsx-router-pinia-with-tests/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index 1d003f8..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup>
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/jsx-router-pinia-with-tests/src/components/WelcomeItem.vue b/playground/jsx-router-pinia-with-tests/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js b/playground/jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.js
deleted file mode 100644 (file)
index a69f3a9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-import { mount } from '@cypress/vue'
-import HelloWorld from '../HelloWorld.vue'
-
-describe('HelloWorld', () => {
-  it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-  })
-
-  it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-    cy.get('h1').should('contain', 'Hello Cypress')
-  })
-})
diff --git a/playground/jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue b/playground/jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue b/playground/jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue b/playground/jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue b/playground/jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue b/playground/jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/jsx-router-pinia-with-tests/src/main.js b/playground/jsx-router-pinia-with-tests/src/main.js
deleted file mode 100644 (file)
index fda1e6e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
-
-import App from './App.vue'
-import router from './router'
-
-const app = createApp(App)
-
-app.use(createPinia())
-app.use(router)
-
-app.mount('#app')
diff --git a/playground/jsx-router-pinia-with-tests/src/router/index.js b/playground/jsx-router-pinia-with-tests/src/router/index.js
deleted file mode 100644 (file)
index a49ae50..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-import { createRouter, createWebHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
-
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
-  routes: [
-    {
-      path: '/',
-      name: 'home',
-      component: HomeView
-    },
-    {
-      path: '/about',
-      name: 'about',
-      // route level code-splitting
-      // this generates a separate chunk (About.[hash].js) for this route
-      // which is lazy-loaded when the route is visited.
-      component: () => import('../views/AboutView.vue')
-    }
-  ]
-})
-
-export default router
diff --git a/playground/jsx-router-pinia-with-tests/src/stores/counter.js b/playground/jsx-router-pinia-with-tests/src/stores/counter.js
deleted file mode 100644 (file)
index 4a2d242..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-import { defineStore } from 'pinia'
-
-export const useCounterStore = defineStore({
-  id: 'counter',
-  state: () => ({
-    counter: 0
-  }),
-  getters: {
-    doubleCount: (state) => state.counter * 2
-  },
-  actions: {
-    increment() {
-      this.counter++
-    }
-  }
-})
diff --git a/playground/jsx-router-pinia-with-tests/src/views/AboutView.vue b/playground/jsx-router-pinia-with-tests/src/views/AboutView.vue
deleted file mode 100644 (file)
index 756ad2a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<template>
-  <div class="about">
-    <h1>This is an about page</h1>
-  </div>
-</template>
-
-<style>
-@media (min-width: 1024px) {
-  .about {
-    min-height: 100vh;
-    display: flex;
-    align-items: center;
-  }
-}
-</style>
diff --git a/playground/jsx-router-pinia-with-tests/src/views/HomeView.vue b/playground/jsx-router-pinia-with-tests/src/views/HomeView.vue
deleted file mode 100644 (file)
index 6555a64..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<script setup lang="ts">
-import TheWelcome from '@/components/TheWelcome.vue'
-</script>
-
-<template>
-  <main>
-    <TheWelcome />
-  </main>
-</template>
diff --git a/playground/jsx-router-pinia-with-tests/vite.config.js b/playground/jsx-router-pinia-with-tests/vite.config.js
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/jsx-router-pinia/.gitignore b/playground/jsx-router-pinia/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/jsx-router-pinia/README.md b/playground/jsx-router-pinia/README.md
deleted file mode 100644 (file)
index 5fec2b3..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-# jsx-router-pinia
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Compile and Minify for Production
-
-```sh
-pnpm build
-```
diff --git a/playground/jsx-router-pinia/index.html b/playground/jsx-router-pinia/index.html
deleted file mode 100644 (file)
index 030a6ff..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.js"></script>
-  </body>
-</html>
diff --git a/playground/jsx-router-pinia/package.json b/playground/jsx-router-pinia/package.json
deleted file mode 100644 (file)
index e310b7b..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-{
-  "name": "jsx-router-pinia",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vite build",
-    "preview": "vite preview --port 5050"
-  },
-  "dependencies": {
-    "pinia": "^2.0.4",
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
-  },
-  "devDependencies": {
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "vite": "^2.6.14"
-  }
-}
diff --git a/playground/jsx-router-pinia/public/favicon.ico b/playground/jsx-router-pinia/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/jsx-router-pinia/public/favicon.ico and /dev/null differ
diff --git a/playground/jsx-router-pinia/src/App.vue b/playground/jsx-router-pinia/src/App.vue
deleted file mode 100644 (file)
index 37edbaf..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-<script setup>
-import HelloWorld from '@/components/HelloWorld.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
-</template>
-
-<style>
-@import '@/assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-  max-height: 100vh;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-nav {
-  width: 100%;
-  font-size: 12px;
-  text-align: center;
-  margin-top: 2rem;
-}
-
-nav a.router-link-exact-active {
-  color: var(--color-text);
-}
-
-nav a.router-link-exact-active:hover {
-  background-color: transparent;
-}
-
-nav a {
-  display: inline-block;
-  padding: 0 1rem;
-  border-left: 1px solid var(--color-border);
-}
-
-nav a:first-of-type {
-  border: 0;
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-
-  nav {
-    text-align: left;
-    margin-left: -1rem;
-    font-size: 1rem;
-
-    padding: 1rem 0;
-    margin-top: 1rem;
-  }
-}
-</style>
diff --git a/playground/jsx-router-pinia/src/assets/base.css b/playground/jsx-router-pinia/src/assets/base.css
deleted file mode 100644 (file)
index 71dc55a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/jsx-router-pinia/src/assets/logo.svg b/playground/jsx-router-pinia/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/jsx-router-pinia/src/components/HelloWorld.vue b/playground/jsx-router-pinia/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index aa16fa1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<script setup>
-defineProps({
-  msg: {
-    type: String,
-    required: true
-  }
-})
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/jsx-router-pinia/src/components/TheWelcome.vue b/playground/jsx-router-pinia/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index 1d003f8..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup>
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/jsx-router-pinia/src/components/WelcomeItem.vue b/playground/jsx-router-pinia/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/jsx-router-pinia/src/components/icons/IconCommunity.vue b/playground/jsx-router-pinia/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router-pinia/src/components/icons/IconDocumentation.vue b/playground/jsx-router-pinia/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router-pinia/src/components/icons/IconEcosystem.vue b/playground/jsx-router-pinia/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router-pinia/src/components/icons/IconSupport.vue b/playground/jsx-router-pinia/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router-pinia/src/components/icons/IconTooling.vue b/playground/jsx-router-pinia/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/jsx-router-pinia/src/main.js b/playground/jsx-router-pinia/src/main.js
deleted file mode 100644 (file)
index fda1e6e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
-
-import App from './App.vue'
-import router from './router'
-
-const app = createApp(App)
-
-app.use(createPinia())
-app.use(router)
-
-app.mount('#app')
diff --git a/playground/jsx-router-pinia/src/router/index.js b/playground/jsx-router-pinia/src/router/index.js
deleted file mode 100644 (file)
index a49ae50..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-import { createRouter, createWebHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
-
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
-  routes: [
-    {
-      path: '/',
-      name: 'home',
-      component: HomeView
-    },
-    {
-      path: '/about',
-      name: 'about',
-      // route level code-splitting
-      // this generates a separate chunk (About.[hash].js) for this route
-      // which is lazy-loaded when the route is visited.
-      component: () => import('../views/AboutView.vue')
-    }
-  ]
-})
-
-export default router
diff --git a/playground/jsx-router-pinia/src/stores/counter.js b/playground/jsx-router-pinia/src/stores/counter.js
deleted file mode 100644 (file)
index 4a2d242..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-import { defineStore } from 'pinia'
-
-export const useCounterStore = defineStore({
-  id: 'counter',
-  state: () => ({
-    counter: 0
-  }),
-  getters: {
-    doubleCount: (state) => state.counter * 2
-  },
-  actions: {
-    increment() {
-      this.counter++
-    }
-  }
-})
diff --git a/playground/jsx-router-pinia/src/views/AboutView.vue b/playground/jsx-router-pinia/src/views/AboutView.vue
deleted file mode 100644 (file)
index 756ad2a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<template>
-  <div class="about">
-    <h1>This is an about page</h1>
-  </div>
-</template>
-
-<style>
-@media (min-width: 1024px) {
-  .about {
-    min-height: 100vh;
-    display: flex;
-    align-items: center;
-  }
-}
-</style>
diff --git a/playground/jsx-router-pinia/src/views/HomeView.vue b/playground/jsx-router-pinia/src/views/HomeView.vue
deleted file mode 100644 (file)
index 6555a64..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<script setup lang="ts">
-import TheWelcome from '@/components/TheWelcome.vue'
-</script>
-
-<template>
-  <main>
-    <TheWelcome />
-  </main>
-</template>
diff --git a/playground/jsx-router-pinia/vite.config.js b/playground/jsx-router-pinia/vite.config.js
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/jsx-router-with-tests/.gitignore b/playground/jsx-router-with-tests/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/jsx-router-with-tests/README.md b/playground/jsx-router-with-tests/README.md
deleted file mode 100644 (file)
index 45cc392..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-# jsx-router-with-tests
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Compile and Minify for Production
-
-```sh
-pnpm build
-```
-
-### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction)
-
-```sh
-pnpm test:unit # or `pnpm test:unit:ci` for headless testing
-```
-
-### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
-
-```sh
-pnpm build
-pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
-```
diff --git a/playground/jsx-router-with-tests/cypress.json b/playground/jsx-router-with-tests/cypress.json
deleted file mode 100644 (file)
index 3d37225..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "baseUrl": "http://localhost:5050",
-  "component": {
-    "componentFolder": "src",
-    "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}"
-  }
-}
diff --git a/playground/jsx-router-with-tests/cypress/fixtures/example.json b/playground/jsx-router-with-tests/cypress/fixtures/example.json
deleted file mode 100644 (file)
index 02e4254..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-  "name": "Using fixtures to represent data",
-  "email": "hello@cypress.io",
-  "body": "Fixtures are a great way to mock data for responses to routes"
-}
diff --git a/playground/jsx-router-with-tests/cypress/integration/example.spec.js b/playground/jsx-router-with-tests/cypress/integration/example.spec.js
deleted file mode 100644 (file)
index 13a2922..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// https://docs.cypress.io/api/introduction/api.html
-
-describe('My First Test', () => {
-  it('visits the app root url', () => {
-    cy.visit('/')
-    cy.contains('h1', 'You did it!')
-  })
-
-  it('navigates to the about page', () => {
-    cy.visit('/about')
-    cy.contains('h1', 'This is an about page')
-  })
-})
diff --git a/playground/jsx-router-with-tests/cypress/jsconfig.json b/playground/jsx-router-with-tests/cypress/jsconfig.json
deleted file mode 100644 (file)
index b5b2f97..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "compilerOptions": {
-    "target": "es5",
-    "lib": ["es5", "dom"],
-    "types": ["cypress"]
-  },
-  "include": ["./**/*"]
-}
diff --git a/playground/jsx-router-with-tests/cypress/plugins/index.js b/playground/jsx-router-with-tests/cypress/plugins/index.js
deleted file mode 100644 (file)
index ad2e351..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/// <reference types="cypress" />
-// ***********************************************************
-// This example plugins/index.js can be used to load plugins
-//
-// You can change the location of this file or turn off loading
-// the plugins file with the 'pluginsFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/plugins-guide
-// ***********************************************************
-
-// This function is called when a project is opened or re-opened (e.g. due to
-// the project's config changing)
-
-const { startDevServer } = require('@cypress/vite-dev-server')
-
-/**
- * @type {Cypress.PluginConfig}
- */
-// eslint-disable-next-line no-unused-vars
-module.exports = (on, config) => {
-  // `on` is used to hook into various events Cypress emits
-  // `config` is the resolved Cypress config
-  on('dev-server:start', (options) => {
-    return startDevServer({ options })
-  })
-  return config
-}
diff --git a/playground/jsx-router-with-tests/cypress/support/commands.js b/playground/jsx-router-with-tests/cypress/support/commands.js
deleted file mode 100644 (file)
index 119ab03..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// ***********************************************
-// This example commands.js shows you how to
-// create various custom commands and overwrite
-// existing commands.
-//
-// For more comprehensive examples of custom
-// commands please read more here:
-// https://on.cypress.io/custom-commands
-// ***********************************************
-//
-//
-// -- This is a parent command --
-// Cypress.Commands.add('login', (email, password) => { ... })
-//
-//
-// -- This is a child command --
-// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
-//
-//
-// -- This is a dual command --
-// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
-//
-//
-// -- This will overwrite an existing command --
-// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
diff --git a/playground/jsx-router-with-tests/cypress/support/index.js b/playground/jsx-router-with-tests/cypress/support/index.js
deleted file mode 100644 (file)
index d68db96..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// ***********************************************************
-// This example support/index.js is processed and
-// loaded automatically before your test files.
-//
-// This is a great place to put global configuration and
-// behavior that modifies Cypress.
-//
-// You can change the location of this file or turn off
-// automatically serving support files with the
-// 'supportFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/configuration
-// ***********************************************************
-
-// Import commands.js using ES2015 syntax:
-import './commands'
-
-// Alternatively you can use CommonJS syntax:
-// require('./commands')
diff --git a/playground/jsx-router-with-tests/index.html b/playground/jsx-router-with-tests/index.html
deleted file mode 100644 (file)
index 030a6ff..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.js"></script>
-  </body>
-</html>
diff --git a/playground/jsx-router-with-tests/package.json b/playground/jsx-router-with-tests/package.json
deleted file mode 100644 (file)
index 124dd6b..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-{
-  "name": "jsx-router-with-tests",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vite build",
-    "preview": "vite preview --port 5050",
-    "test:unit": "cypress open-ct",
-    "test:unit:ci": "cypress run-ct --quiet --reporter spec",
-    "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'"
-  },
-  "dependencies": {
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
-  },
-  "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "cypress": "^8.7.0",
-    "start-server-and-test": "^1.14.0",
-    "vite": "^2.6.14"
-  }
-}
diff --git a/playground/jsx-router-with-tests/public/favicon.ico b/playground/jsx-router-with-tests/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/jsx-router-with-tests/public/favicon.ico and /dev/null differ
diff --git a/playground/jsx-router-with-tests/src/App.vue b/playground/jsx-router-with-tests/src/App.vue
deleted file mode 100644 (file)
index 37edbaf..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-<script setup>
-import HelloWorld from '@/components/HelloWorld.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
-</template>
-
-<style>
-@import '@/assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-  max-height: 100vh;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-nav {
-  width: 100%;
-  font-size: 12px;
-  text-align: center;
-  margin-top: 2rem;
-}
-
-nav a.router-link-exact-active {
-  color: var(--color-text);
-}
-
-nav a.router-link-exact-active:hover {
-  background-color: transparent;
-}
-
-nav a {
-  display: inline-block;
-  padding: 0 1rem;
-  border-left: 1px solid var(--color-border);
-}
-
-nav a:first-of-type {
-  border: 0;
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-
-  nav {
-    text-align: left;
-    margin-left: -1rem;
-    font-size: 1rem;
-
-    padding: 1rem 0;
-    margin-top: 1rem;
-  }
-}
-</style>
diff --git a/playground/jsx-router-with-tests/src/assets/base.css b/playground/jsx-router-with-tests/src/assets/base.css
deleted file mode 100644 (file)
index 71dc55a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/jsx-router-with-tests/src/assets/logo.svg b/playground/jsx-router-with-tests/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/jsx-router-with-tests/src/components/HelloWorld.vue b/playground/jsx-router-with-tests/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index aa16fa1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<script setup>
-defineProps({
-  msg: {
-    type: String,
-    required: true
-  }
-})
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/jsx-router-with-tests/src/components/TheWelcome.vue b/playground/jsx-router-with-tests/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index 1d003f8..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup>
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/jsx-router-with-tests/src/components/WelcomeItem.vue b/playground/jsx-router-with-tests/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.js b/playground/jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.js
deleted file mode 100644 (file)
index a69f3a9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-import { mount } from '@cypress/vue'
-import HelloWorld from '../HelloWorld.vue'
-
-describe('HelloWorld', () => {
-  it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-  })
-
-  it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-    cy.get('h1').should('contain', 'Hello Cypress')
-  })
-})
diff --git a/playground/jsx-router-with-tests/src/components/icons/IconCommunity.vue b/playground/jsx-router-with-tests/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router-with-tests/src/components/icons/IconDocumentation.vue b/playground/jsx-router-with-tests/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router-with-tests/src/components/icons/IconEcosystem.vue b/playground/jsx-router-with-tests/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router-with-tests/src/components/icons/IconSupport.vue b/playground/jsx-router-with-tests/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router-with-tests/src/components/icons/IconTooling.vue b/playground/jsx-router-with-tests/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/jsx-router-with-tests/src/main.js b/playground/jsx-router-with-tests/src/main.js
deleted file mode 100644 (file)
index c8e37b0..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-import { createApp } from 'vue'
-import App from './App.vue'
-import router from './router'
-
-const app = createApp(App)
-
-app.use(router)
-
-app.mount('#app')
diff --git a/playground/jsx-router-with-tests/src/router/index.js b/playground/jsx-router-with-tests/src/router/index.js
deleted file mode 100644 (file)
index a49ae50..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-import { createRouter, createWebHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
-
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
-  routes: [
-    {
-      path: '/',
-      name: 'home',
-      component: HomeView
-    },
-    {
-      path: '/about',
-      name: 'about',
-      // route level code-splitting
-      // this generates a separate chunk (About.[hash].js) for this route
-      // which is lazy-loaded when the route is visited.
-      component: () => import('../views/AboutView.vue')
-    }
-  ]
-})
-
-export default router
diff --git a/playground/jsx-router-with-tests/src/views/AboutView.vue b/playground/jsx-router-with-tests/src/views/AboutView.vue
deleted file mode 100644 (file)
index 756ad2a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<template>
-  <div class="about">
-    <h1>This is an about page</h1>
-  </div>
-</template>
-
-<style>
-@media (min-width: 1024px) {
-  .about {
-    min-height: 100vh;
-    display: flex;
-    align-items: center;
-  }
-}
-</style>
diff --git a/playground/jsx-router-with-tests/src/views/HomeView.vue b/playground/jsx-router-with-tests/src/views/HomeView.vue
deleted file mode 100644 (file)
index 6555a64..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<script setup lang="ts">
-import TheWelcome from '@/components/TheWelcome.vue'
-</script>
-
-<template>
-  <main>
-    <TheWelcome />
-  </main>
-</template>
diff --git a/playground/jsx-router-with-tests/vite.config.js b/playground/jsx-router-with-tests/vite.config.js
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/jsx-router/.gitignore b/playground/jsx-router/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/jsx-router/README.md b/playground/jsx-router/README.md
deleted file mode 100644 (file)
index 67c8371..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-# jsx-router
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Compile and Minify for Production
-
-```sh
-pnpm build
-```
diff --git a/playground/jsx-router/index.html b/playground/jsx-router/index.html
deleted file mode 100644 (file)
index 030a6ff..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.js"></script>
-  </body>
-</html>
diff --git a/playground/jsx-router/package.json b/playground/jsx-router/package.json
deleted file mode 100644 (file)
index 7281e7e..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-{
-  "name": "jsx-router",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vite build",
-    "preview": "vite preview --port 5050"
-  },
-  "dependencies": {
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
-  },
-  "devDependencies": {
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "vite": "^2.6.14"
-  }
-}
diff --git a/playground/jsx-router/public/favicon.ico b/playground/jsx-router/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/jsx-router/public/favicon.ico and /dev/null differ
diff --git a/playground/jsx-router/src/App.vue b/playground/jsx-router/src/App.vue
deleted file mode 100644 (file)
index 37edbaf..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-<script setup>
-import HelloWorld from '@/components/HelloWorld.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
-</template>
-
-<style>
-@import '@/assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-  max-height: 100vh;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-nav {
-  width: 100%;
-  font-size: 12px;
-  text-align: center;
-  margin-top: 2rem;
-}
-
-nav a.router-link-exact-active {
-  color: var(--color-text);
-}
-
-nav a.router-link-exact-active:hover {
-  background-color: transparent;
-}
-
-nav a {
-  display: inline-block;
-  padding: 0 1rem;
-  border-left: 1px solid var(--color-border);
-}
-
-nav a:first-of-type {
-  border: 0;
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-
-  nav {
-    text-align: left;
-    margin-left: -1rem;
-    font-size: 1rem;
-
-    padding: 1rem 0;
-    margin-top: 1rem;
-  }
-}
-</style>
diff --git a/playground/jsx-router/src/assets/base.css b/playground/jsx-router/src/assets/base.css
deleted file mode 100644 (file)
index 71dc55a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/jsx-router/src/assets/logo.svg b/playground/jsx-router/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/jsx-router/src/components/HelloWorld.vue b/playground/jsx-router/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index aa16fa1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<script setup>
-defineProps({
-  msg: {
-    type: String,
-    required: true
-  }
-})
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/jsx-router/src/components/TheWelcome.vue b/playground/jsx-router/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index 1d003f8..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup>
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/jsx-router/src/components/WelcomeItem.vue b/playground/jsx-router/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/jsx-router/src/components/icons/IconCommunity.vue b/playground/jsx-router/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router/src/components/icons/IconDocumentation.vue b/playground/jsx-router/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router/src/components/icons/IconEcosystem.vue b/playground/jsx-router/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router/src/components/icons/IconSupport.vue b/playground/jsx-router/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-router/src/components/icons/IconTooling.vue b/playground/jsx-router/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/jsx-router/src/main.js b/playground/jsx-router/src/main.js
deleted file mode 100644 (file)
index c8e37b0..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-import { createApp } from 'vue'
-import App from './App.vue'
-import router from './router'
-
-const app = createApp(App)
-
-app.use(router)
-
-app.mount('#app')
diff --git a/playground/jsx-router/src/router/index.js b/playground/jsx-router/src/router/index.js
deleted file mode 100644 (file)
index a49ae50..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-import { createRouter, createWebHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
-
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
-  routes: [
-    {
-      path: '/',
-      name: 'home',
-      component: HomeView
-    },
-    {
-      path: '/about',
-      name: 'about',
-      // route level code-splitting
-      // this generates a separate chunk (About.[hash].js) for this route
-      // which is lazy-loaded when the route is visited.
-      component: () => import('../views/AboutView.vue')
-    }
-  ]
-})
-
-export default router
diff --git a/playground/jsx-router/src/views/AboutView.vue b/playground/jsx-router/src/views/AboutView.vue
deleted file mode 100644 (file)
index 756ad2a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<template>
-  <div class="about">
-    <h1>This is an about page</h1>
-  </div>
-</template>
-
-<style>
-@media (min-width: 1024px) {
-  .about {
-    min-height: 100vh;
-    display: flex;
-    align-items: center;
-  }
-}
-</style>
diff --git a/playground/jsx-router/src/views/HomeView.vue b/playground/jsx-router/src/views/HomeView.vue
deleted file mode 100644 (file)
index 6555a64..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<script setup lang="ts">
-import TheWelcome from '@/components/TheWelcome.vue'
-</script>
-
-<template>
-  <main>
-    <TheWelcome />
-  </main>
-</template>
diff --git a/playground/jsx-router/vite.config.js b/playground/jsx-router/vite.config.js
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/jsx-with-tests/.gitignore b/playground/jsx-with-tests/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/jsx-with-tests/README.md b/playground/jsx-with-tests/README.md
deleted file mode 100644 (file)
index 336d942..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-# jsx-with-tests
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Compile and Minify for Production
-
-```sh
-pnpm build
-```
-
-### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction)
-
-```sh
-pnpm test:unit # or `pnpm test:unit:ci` for headless testing
-```
-
-### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
-
-```sh
-pnpm build
-pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
-```
diff --git a/playground/jsx-with-tests/cypress.json b/playground/jsx-with-tests/cypress.json
deleted file mode 100644 (file)
index 3d37225..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "baseUrl": "http://localhost:5050",
-  "component": {
-    "componentFolder": "src",
-    "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}"
-  }
-}
diff --git a/playground/jsx-with-tests/cypress/fixtures/example.json b/playground/jsx-with-tests/cypress/fixtures/example.json
deleted file mode 100644 (file)
index 02e4254..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-  "name": "Using fixtures to represent data",
-  "email": "hello@cypress.io",
-  "body": "Fixtures are a great way to mock data for responses to routes"
-}
diff --git a/playground/jsx-with-tests/cypress/integration/example.spec.js b/playground/jsx-with-tests/cypress/integration/example.spec.js
deleted file mode 100644 (file)
index 7a8c909..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-// https://docs.cypress.io/api/introduction/api.html
-
-describe('My First Test', () => {
-  it('visits the app root url', () => {
-    cy.visit('/')
-    cy.contains('h1', 'You did it!')
-  })
-})
diff --git a/playground/jsx-with-tests/cypress/jsconfig.json b/playground/jsx-with-tests/cypress/jsconfig.json
deleted file mode 100644 (file)
index b5b2f97..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "compilerOptions": {
-    "target": "es5",
-    "lib": ["es5", "dom"],
-    "types": ["cypress"]
-  },
-  "include": ["./**/*"]
-}
diff --git a/playground/jsx-with-tests/cypress/plugins/index.js b/playground/jsx-with-tests/cypress/plugins/index.js
deleted file mode 100644 (file)
index ad2e351..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/// <reference types="cypress" />
-// ***********************************************************
-// This example plugins/index.js can be used to load plugins
-//
-// You can change the location of this file or turn off loading
-// the plugins file with the 'pluginsFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/plugins-guide
-// ***********************************************************
-
-// This function is called when a project is opened or re-opened (e.g. due to
-// the project's config changing)
-
-const { startDevServer } = require('@cypress/vite-dev-server')
-
-/**
- * @type {Cypress.PluginConfig}
- */
-// eslint-disable-next-line no-unused-vars
-module.exports = (on, config) => {
-  // `on` is used to hook into various events Cypress emits
-  // `config` is the resolved Cypress config
-  on('dev-server:start', (options) => {
-    return startDevServer({ options })
-  })
-  return config
-}
diff --git a/playground/jsx-with-tests/cypress/support/commands.js b/playground/jsx-with-tests/cypress/support/commands.js
deleted file mode 100644 (file)
index 119ab03..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// ***********************************************
-// This example commands.js shows you how to
-// create various custom commands and overwrite
-// existing commands.
-//
-// For more comprehensive examples of custom
-// commands please read more here:
-// https://on.cypress.io/custom-commands
-// ***********************************************
-//
-//
-// -- This is a parent command --
-// Cypress.Commands.add('login', (email, password) => { ... })
-//
-//
-// -- This is a child command --
-// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
-//
-//
-// -- This is a dual command --
-// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
-//
-//
-// -- This will overwrite an existing command --
-// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
diff --git a/playground/jsx-with-tests/cypress/support/index.js b/playground/jsx-with-tests/cypress/support/index.js
deleted file mode 100644 (file)
index d68db96..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// ***********************************************************
-// This example support/index.js is processed and
-// loaded automatically before your test files.
-//
-// This is a great place to put global configuration and
-// behavior that modifies Cypress.
-//
-// You can change the location of this file or turn off
-// automatically serving support files with the
-// 'supportFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/configuration
-// ***********************************************************
-
-// Import commands.js using ES2015 syntax:
-import './commands'
-
-// Alternatively you can use CommonJS syntax:
-// require('./commands')
diff --git a/playground/jsx-with-tests/index.html b/playground/jsx-with-tests/index.html
deleted file mode 100644 (file)
index 030a6ff..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.js"></script>
-  </body>
-</html>
diff --git a/playground/jsx-with-tests/package.json b/playground/jsx-with-tests/package.json
deleted file mode 100644 (file)
index 740b9bc..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-{
-  "name": "jsx-with-tests",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vite build",
-    "preview": "vite preview --port 5050",
-    "test:unit": "cypress open-ct",
-    "test:unit:ci": "cypress run-ct --quiet --reporter spec",
-    "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'"
-  },
-  "dependencies": {
-    "vue": "^3.2.22"
-  },
-  "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "cypress": "^8.7.0",
-    "start-server-and-test": "^1.14.0",
-    "vite": "^2.6.14"
-  }
-}
diff --git a/playground/jsx-with-tests/public/favicon.ico b/playground/jsx-with-tests/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/jsx-with-tests/public/favicon.ico and /dev/null differ
diff --git a/playground/jsx-with-tests/src/App.vue b/playground/jsx-with-tests/src/App.vue
deleted file mode 100644 (file)
index b0b6901..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<script setup>
-import HelloWorld from './components/HelloWorld.vue'
-import TheWelcome from './components/TheWelcome.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
-
-  <main>
-    <TheWelcome />
-  </main>
-</template>
-
-<style>
-@import './assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-}
-</style>
diff --git a/playground/jsx-with-tests/src/assets/base.css b/playground/jsx-with-tests/src/assets/base.css
deleted file mode 100644 (file)
index 5427a03..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dadarkrk-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/jsx-with-tests/src/assets/logo.svg b/playground/jsx-with-tests/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/jsx-with-tests/src/components/HelloWorld.vue b/playground/jsx-with-tests/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index aa16fa1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<script setup>
-defineProps({
-  msg: {
-    type: String,
-    required: true
-  }
-})
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/jsx-with-tests/src/components/TheWelcome.vue b/playground/jsx-with-tests/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index 1d003f8..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup>
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/jsx-with-tests/src/components/WelcomeItem.vue b/playground/jsx-with-tests/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/jsx-with-tests/src/components/__tests__/HelloWorld.spec.js b/playground/jsx-with-tests/src/components/__tests__/HelloWorld.spec.js
deleted file mode 100644 (file)
index a69f3a9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-import { mount } from '@cypress/vue'
-import HelloWorld from '../HelloWorld.vue'
-
-describe('HelloWorld', () => {
-  it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-  })
-
-  it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-    cy.get('h1').should('contain', 'Hello Cypress')
-  })
-})
diff --git a/playground/jsx-with-tests/src/components/icons/IconCommunity.vue b/playground/jsx-with-tests/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-with-tests/src/components/icons/IconDocumentation.vue b/playground/jsx-with-tests/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-with-tests/src/components/icons/IconEcosystem.vue b/playground/jsx-with-tests/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-with-tests/src/components/icons/IconSupport.vue b/playground/jsx-with-tests/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx-with-tests/src/components/icons/IconTooling.vue b/playground/jsx-with-tests/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/jsx-with-tests/src/main.js b/playground/jsx-with-tests/src/main.js
deleted file mode 100644 (file)
index 01433bc..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-import { createApp } from 'vue'
-import App from './App.vue'
-
-createApp(App).mount('#app')
diff --git a/playground/jsx-with-tests/vite.config.js b/playground/jsx-with-tests/vite.config.js
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/jsx/.gitignore b/playground/jsx/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/jsx/README.md b/playground/jsx/README.md
deleted file mode 100644 (file)
index d689403..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-# jsx
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Compile and Minify for Production
-
-```sh
-pnpm build
-```
diff --git a/playground/jsx/index.html b/playground/jsx/index.html
deleted file mode 100644 (file)
index 030a6ff..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.js"></script>
-  </body>
-</html>
diff --git a/playground/jsx/package.json b/playground/jsx/package.json
deleted file mode 100644 (file)
index 95ca2e1..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-{
-  "name": "jsx",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vite build",
-    "preview": "vite preview --port 5050"
-  },
-  "dependencies": {
-    "vue": "^3.2.22"
-  },
-  "devDependencies": {
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "vite": "^2.6.14"
-  }
-}
diff --git a/playground/jsx/public/favicon.ico b/playground/jsx/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/jsx/public/favicon.ico and /dev/null differ
diff --git a/playground/jsx/src/App.vue b/playground/jsx/src/App.vue
deleted file mode 100644 (file)
index b0b6901..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<script setup>
-import HelloWorld from './components/HelloWorld.vue'
-import TheWelcome from './components/TheWelcome.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
-
-  <main>
-    <TheWelcome />
-  </main>
-</template>
-
-<style>
-@import './assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-}
-</style>
diff --git a/playground/jsx/src/assets/base.css b/playground/jsx/src/assets/base.css
deleted file mode 100644 (file)
index 5427a03..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dadarkrk-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/jsx/src/assets/logo.svg b/playground/jsx/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/jsx/src/components/HelloWorld.vue b/playground/jsx/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index aa16fa1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<script setup>
-defineProps({
-  msg: {
-    type: String,
-    required: true
-  }
-})
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/jsx/src/components/TheWelcome.vue b/playground/jsx/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index 1d003f8..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup>
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/jsx/src/components/WelcomeItem.vue b/playground/jsx/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/jsx/src/components/icons/IconCommunity.vue b/playground/jsx/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx/src/components/icons/IconDocumentation.vue b/playground/jsx/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx/src/components/icons/IconEcosystem.vue b/playground/jsx/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx/src/components/icons/IconSupport.vue b/playground/jsx/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/jsx/src/components/icons/IconTooling.vue b/playground/jsx/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/jsx/src/main.js b/playground/jsx/src/main.js
deleted file mode 100644 (file)
index 01433bc..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-import { createApp } from 'vue'
-import App from './App.vue'
-
-createApp(App).mount('#app')
diff --git a/playground/jsx/vite.config.js b/playground/jsx/vite.config.js
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
index a7a70523c0015e1416c1fb975304d210ded5af9b..f321260732dfa17d4936ff9f1fdbd73d770c7763 100644 (file)
     "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'"
   },
   "dependencies": {
+    "@vue/composition-api": "^1.4.0",
     "pinia": "^2.0.4",
-    "vue": "^3.2.22"
+    "vue": "^2.6.14"
   },
   "devDependencies": {
     "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.10.0",
+    "@cypress/vue": "^2.2.4",
+    "@vue/runtime-dom": "^3.2.22",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
-    "vite": "^2.6.14"
+    "unplugin-vue2-script-setup": "^0.7.1",
+    "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14"
   }
 }
index b0b6901bf5d8bd252c01b735605f50569c258095..099c613b1ea07f5a3a97471c114c43e7b0a99904 100644 (file)
@@ -4,17 +4,19 @@ import TheWelcome from './components/TheWelcome.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
 
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+      </div>
+    </header>
 
-  <main>
-    <TheWelcome />
-  </main>
+    <main>
+      <TheWelcome />
+    </main>
+  </div>
 </template>
 
 <style>
index aa16fa1fb036bc5423c56f4fe214ac458a2f8661..246beb3466e8f9822e679fedc6dd6008de63a123 100644 (file)
@@ -13,7 +13,7 @@ defineProps({
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index 1d003f8669af790635e6c7254c4c4469fff1f02a..d63a553b9e2c71038b4013797bd97b4bc40466ca 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index a69f3a9d69f15b4a2ecc1bf97617f00597ef2064..d6fb360b053b7de3b70e9fba6a11ff6c7db91a27 100644 (file)
@@ -3,11 +3,11 @@ import HelloWorld from '../HelloWorld.vue'
 
 describe('HelloWorld', () => {
   it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
   })
 
   it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
     cy.get('h1').should('contain', 'Hello Cypress')
   })
 })
index 5f77a8911f244df66962baf136f53475149b37f4..82926e979e13061f721ce5c65f3b3d166f913347 100644 (file)
@@ -1,9 +1,15 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+import { createPinia, PiniaVuePlugin } from 'pinia'
+
 import App from './App.vue'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
+Vue.use(PiniaVuePlugin)
 
-app.use(createPinia())
+const app = new Vue({
+  pinia: createPinia(),
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index e29a8bf4f20c0bf95dfd947aa8f69243dd9a53a7..d86755d10433be7f95a7aee7c21f7dbf02444c5f 100644 (file)
@@ -7,11 +7,15 @@
     "preview": "vite preview --port 5050"
   },
   "dependencies": {
+    "@vue/composition-api": "^1.4.0",
     "pinia": "^2.0.4",
-    "vue": "^3.2.22"
+    "vue": "^2.6.14"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.10.0",
-    "vite": "^2.6.14"
+    "@vue/runtime-dom": "^3.2.22",
+    "unplugin-vue2-script-setup": "^0.7.1",
+    "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14"
   }
 }
index b0b6901bf5d8bd252c01b735605f50569c258095..099c613b1ea07f5a3a97471c114c43e7b0a99904 100644 (file)
@@ -4,17 +4,19 @@ import TheWelcome from './components/TheWelcome.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
 
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+      </div>
+    </header>
 
-  <main>
-    <TheWelcome />
-  </main>
+    <main>
+      <TheWelcome />
+    </main>
+  </div>
 </template>
 
 <style>
index aa16fa1fb036bc5423c56f4fe214ac458a2f8661..246beb3466e8f9822e679fedc6dd6008de63a123 100644 (file)
@@ -13,7 +13,7 @@ defineProps({
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index 1d003f8669af790635e6c7254c4c4469fff1f02a..d63a553b9e2c71038b4013797bd97b4bc40466ca 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index 5f77a8911f244df66962baf136f53475149b37f4..82926e979e13061f721ce5c65f3b3d166f913347 100644 (file)
@@ -1,9 +1,15 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+import { createPinia, PiniaVuePlugin } from 'pinia'
+
 import App from './App.vue'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
+Vue.use(PiniaVuePlugin)
 
-app.use(createPinia())
+const app = new Vue({
+  pinia: createPinia(),
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index d6b4980ef1d9a9d4a6d54874087b2827ba654c08..d06f24f914ab46ce5bb92c0a55ba292f82a9386d 100644 (file)
     "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'"
   },
   "dependencies": {
+    "@vue/composition-api": "^1.4.0",
     "pinia": "^2.0.4",
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
+    "vue": "^2.6.14",
+    "vue-router": "^3.5.3"
   },
   "devDependencies": {
     "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.10.0",
+    "@cypress/vue": "^2.2.4",
+    "@vue/runtime-dom": "^3.2.22",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
-    "vite": "^2.6.14"
+    "unplugin-vue2-script-setup": "^0.7.1",
+    "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14"
   }
 }
index 37edbaf4e3a02bc143496d03502d1b1cdc9101c1..eac0e1bb4d3ddc66833b77813823bfba7eef4131 100644 (file)
@@ -3,20 +3,22 @@ import HelloWorld from '@/components/HelloWorld.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
+
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+
+        <nav>
+          <router-link to="/">Home</router-link>
+          <router-link to="/about">About</router-link>
+        </nav>
+      </div>
+    </header>
+
+    <router-view />
+  </div>
 </template>
 
 <style>
index aa16fa1fb036bc5423c56f4fe214ac458a2f8661..246beb3466e8f9822e679fedc6dd6008de63a123 100644 (file)
@@ -13,7 +13,7 @@ defineProps({
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index 1d003f8669af790635e6c7254c4c4469fff1f02a..d63a553b9e2c71038b4013797bd97b4bc40466ca 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index a69f3a9d69f15b4a2ecc1bf97617f00597ef2064..d6fb360b053b7de3b70e9fba6a11ff6c7db91a27 100644 (file)
@@ -3,11 +3,11 @@ import HelloWorld from '../HelloWorld.vue'
 
 describe('HelloWorld', () => {
   it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
   })
 
   it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
     cy.get('h1').should('contain', 'Hello Cypress')
   })
 })
index fda1e6e3e6dc4f11e7f23d3e187d4d541276940f..bbcfd4ffd15196ee3b5ce8eb5a11a0673ca346d1 100644 (file)
@@ -1,12 +1,17 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+import { createPinia, PiniaVuePlugin } from 'pinia'
 
 import App from './App.vue'
 import router from './router'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
+Vue.use(PiniaVuePlugin)
 
-app.use(createPinia())
-app.use(router)
+const app = new Vue({
+  router,
+  pinia: createPinia(),
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index a49ae507f39bdb792025d7c4bd1573b876e8cc96..cf9820b0fd0ce9ac3426338b921d8807c57187c8 100644 (file)
@@ -1,8 +1,12 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import Vue from 'vue'
+import VueRouter from 'vue-router'
 import HomeView from '../views/HomeView.vue'
 
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+Vue.use(VueRouter)
+
+const router = new VueRouter({
+  mode: 'history',
+  base: import.meta.env.BASE_URL,
   routes: [
     {
       path: '/',
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index 39eede6298d01c87513db06402dedb4b24bca390..06f3e2eae9c255b9a6827ae0e04cec678bd57246 100644 (file)
@@ -7,12 +7,16 @@
     "preview": "vite preview --port 5050"
   },
   "dependencies": {
+    "@vue/composition-api": "^1.4.0",
     "pinia": "^2.0.4",
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
+    "vue": "^2.6.14",
+    "vue-router": "^3.5.3"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.10.0",
-    "vite": "^2.6.14"
+    "@vue/runtime-dom": "^3.2.22",
+    "unplugin-vue2-script-setup": "^0.7.1",
+    "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14"
   }
 }
index 37edbaf4e3a02bc143496d03502d1b1cdc9101c1..eac0e1bb4d3ddc66833b77813823bfba7eef4131 100644 (file)
@@ -3,20 +3,22 @@ import HelloWorld from '@/components/HelloWorld.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
+
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+
+        <nav>
+          <router-link to="/">Home</router-link>
+          <router-link to="/about">About</router-link>
+        </nav>
+      </div>
+    </header>
+
+    <router-view />
+  </div>
 </template>
 
 <style>
index aa16fa1fb036bc5423c56f4fe214ac458a2f8661..246beb3466e8f9822e679fedc6dd6008de63a123 100644 (file)
@@ -13,7 +13,7 @@ defineProps({
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index 1d003f8669af790635e6c7254c4c4469fff1f02a..d63a553b9e2c71038b4013797bd97b4bc40466ca 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index fda1e6e3e6dc4f11e7f23d3e187d4d541276940f..bbcfd4ffd15196ee3b5ce8eb5a11a0673ca346d1 100644 (file)
@@ -1,12 +1,17 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+import { createPinia, PiniaVuePlugin } from 'pinia'
 
 import App from './App.vue'
 import router from './router'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
+Vue.use(PiniaVuePlugin)
 
-app.use(createPinia())
-app.use(router)
+const app = new Vue({
+  router,
+  pinia: createPinia(),
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index a49ae507f39bdb792025d7c4bd1573b876e8cc96..cf9820b0fd0ce9ac3426338b921d8807c57187c8 100644 (file)
@@ -1,8 +1,12 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import Vue from 'vue'
+import VueRouter from 'vue-router'
 import HomeView from '../views/HomeView.vue'
 
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+Vue.use(VueRouter)
+
+const router = new VueRouter({
+  mode: 'history',
+  base: import.meta.env.BASE_URL,
   routes: [
     {
       path: '/',
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index a09b53853593d367aae6a86c9f61f6d07df06ab5..e1bd984aa3ba28e81df8d412fb66a19ad58e12bd 100644 (file)
     "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'"
   },
   "dependencies": {
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
+    "@vue/composition-api": "^1.4.0",
+    "vue": "^2.6.14",
+    "vue-router": "^3.5.3"
   },
   "devDependencies": {
     "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.10.0",
+    "@cypress/vue": "^2.2.4",
+    "@vue/runtime-dom": "^3.2.22",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
-    "vite": "^2.6.14"
+    "unplugin-vue2-script-setup": "^0.7.1",
+    "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14"
   }
 }
index 37edbaf4e3a02bc143496d03502d1b1cdc9101c1..eac0e1bb4d3ddc66833b77813823bfba7eef4131 100644 (file)
@@ -3,20 +3,22 @@ import HelloWorld from '@/components/HelloWorld.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
+
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+
+        <nav>
+          <router-link to="/">Home</router-link>
+          <router-link to="/about">About</router-link>
+        </nav>
+      </div>
+    </header>
+
+    <router-view />
+  </div>
 </template>
 
 <style>
index aa16fa1fb036bc5423c56f4fe214ac458a2f8661..246beb3466e8f9822e679fedc6dd6008de63a123 100644 (file)
@@ -13,7 +13,7 @@ defineProps({
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index 1d003f8669af790635e6c7254c4c4469fff1f02a..d63a553b9e2c71038b4013797bd97b4bc40466ca 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index a69f3a9d69f15b4a2ecc1bf97617f00597ef2064..d6fb360b053b7de3b70e9fba6a11ff6c7db91a27 100644 (file)
@@ -3,11 +3,11 @@ import HelloWorld from '../HelloWorld.vue'
 
 describe('HelloWorld', () => {
   it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
   })
 
   it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
     cy.get('h1').should('contain', 'Hello Cypress')
   })
 })
index c8e37b03b9c2289ea08f80feeca1880e2abc3a86..cc1d0fb797765afa49efc38776876ff9162150f4 100644 (file)
@@ -1,9 +1,14 @@
-import { createApp } from 'vue'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+
 import App from './App.vue'
 import router from './router'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
 
-app.use(router)
+const app = new Vue({
+  router,
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index a49ae507f39bdb792025d7c4bd1573b876e8cc96..cf9820b0fd0ce9ac3426338b921d8807c57187c8 100644 (file)
@@ -1,8 +1,12 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import Vue from 'vue'
+import VueRouter from 'vue-router'
 import HomeView from '../views/HomeView.vue'
 
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+Vue.use(VueRouter)
+
+const router = new VueRouter({
+  mode: 'history',
+  base: import.meta.env.BASE_URL,
   routes: [
     {
       path: '/',
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index 8fc1c17b92e0eddfe06b7fa3fe4502d1cf43931b..f97b8c35f8a27ad6e2b682fcd3dc748884e20062 100644 (file)
@@ -7,11 +7,15 @@
     "preview": "vite preview --port 5050"
   },
   "dependencies": {
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
+    "@vue/composition-api": "^1.4.0",
+    "vue": "^2.6.14",
+    "vue-router": "^3.5.3"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.10.0",
-    "vite": "^2.6.14"
+    "@vue/runtime-dom": "^3.2.22",
+    "unplugin-vue2-script-setup": "^0.7.1",
+    "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14"
   }
 }
index 37edbaf4e3a02bc143496d03502d1b1cdc9101c1..eac0e1bb4d3ddc66833b77813823bfba7eef4131 100644 (file)
@@ -3,20 +3,22 @@ import HelloWorld from '@/components/HelloWorld.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
+
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+
+        <nav>
+          <router-link to="/">Home</router-link>
+          <router-link to="/about">About</router-link>
+        </nav>
+      </div>
+    </header>
+
+    <router-view />
+  </div>
 </template>
 
 <style>
index aa16fa1fb036bc5423c56f4fe214ac458a2f8661..246beb3466e8f9822e679fedc6dd6008de63a123 100644 (file)
@@ -13,7 +13,7 @@ defineProps({
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index 1d003f8669af790635e6c7254c4c4469fff1f02a..d63a553b9e2c71038b4013797bd97b4bc40466ca 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index c8e37b03b9c2289ea08f80feeca1880e2abc3a86..cc1d0fb797765afa49efc38776876ff9162150f4 100644 (file)
@@ -1,9 +1,14 @@
-import { createApp } from 'vue'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+
 import App from './App.vue'
 import router from './router'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
 
-app.use(router)
+const app = new Vue({
+  router,
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index a49ae507f39bdb792025d7c4bd1573b876e8cc96..cf9820b0fd0ce9ac3426338b921d8807c57187c8 100644 (file)
@@ -1,8 +1,12 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import Vue from 'vue'
+import VueRouter from 'vue-router'
 import HomeView from '../views/HomeView.vue'
 
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+Vue.use(VueRouter)
+
+const router = new VueRouter({
+  mode: 'history',
+  base: import.meta.env.BASE_URL,
   routes: [
     {
       path: '/',
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
diff --git a/playground/typescript-jsx-pinia-with-tests/.gitignore b/playground/typescript-jsx-pinia-with-tests/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/typescript-jsx-pinia-with-tests/README.md b/playground/typescript-jsx-pinia-with-tests/README.md
deleted file mode 100644 (file)
index 79fac8f..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-# typescript-jsx-pinia-with-tests
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Type Support for `.vue` Imports in TS
-
-Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates.
-
-However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette.
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Type-Check, Compile and Minify for Production
-
-```sh
-pnpm build
-```
-
-### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction)
-
-```sh
-pnpm test:unit # or `pnpm test:unit:ci` for headless testing
-```
-
-### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
-
-```sh
-pnpm build
-pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
-```
diff --git a/playground/typescript-jsx-pinia-with-tests/cypress.json b/playground/typescript-jsx-pinia-with-tests/cypress.json
deleted file mode 100644 (file)
index 3d37225..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "baseUrl": "http://localhost:5050",
-  "component": {
-    "componentFolder": "src",
-    "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}"
-  }
-}
diff --git a/playground/typescript-jsx-pinia-with-tests/cypress/fixtures/example.json b/playground/typescript-jsx-pinia-with-tests/cypress/fixtures/example.json
deleted file mode 100644 (file)
index 02e4254..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-  "name": "Using fixtures to represent data",
-  "email": "hello@cypress.io",
-  "body": "Fixtures are a great way to mock data for responses to routes"
-}
diff --git a/playground/typescript-jsx-pinia-with-tests/cypress/integration/example.spec.ts b/playground/typescript-jsx-pinia-with-tests/cypress/integration/example.spec.ts
deleted file mode 100644 (file)
index 7a8c909..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-// https://docs.cypress.io/api/introduction/api.html
-
-describe('My First Test', () => {
-  it('visits the app root url', () => {
-    cy.visit('/')
-    cy.contains('h1', 'You did it!')
-  })
-})
diff --git a/playground/typescript-jsx-pinia-with-tests/cypress/plugins/index.ts b/playground/typescript-jsx-pinia-with-tests/cypress/plugins/index.ts
deleted file mode 100644 (file)
index ad2e351..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/// <reference types="cypress" />
-// ***********************************************************
-// This example plugins/index.js can be used to load plugins
-//
-// You can change the location of this file or turn off loading
-// the plugins file with the 'pluginsFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/plugins-guide
-// ***********************************************************
-
-// This function is called when a project is opened or re-opened (e.g. due to
-// the project's config changing)
-
-const { startDevServer } = require('@cypress/vite-dev-server')
-
-/**
- * @type {Cypress.PluginConfig}
- */
-// eslint-disable-next-line no-unused-vars
-module.exports = (on, config) => {
-  // `on` is used to hook into various events Cypress emits
-  // `config` is the resolved Cypress config
-  on('dev-server:start', (options) => {
-    return startDevServer({ options })
-  })
-  return config
-}
diff --git a/playground/typescript-jsx-pinia-with-tests/cypress/support/commands.ts b/playground/typescript-jsx-pinia-with-tests/cypress/support/commands.ts
deleted file mode 100644 (file)
index 119ab03..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// ***********************************************
-// This example commands.js shows you how to
-// create various custom commands and overwrite
-// existing commands.
-//
-// For more comprehensive examples of custom
-// commands please read more here:
-// https://on.cypress.io/custom-commands
-// ***********************************************
-//
-//
-// -- This is a parent command --
-// Cypress.Commands.add('login', (email, password) => { ... })
-//
-//
-// -- This is a child command --
-// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
-//
-//
-// -- This is a dual command --
-// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
-//
-//
-// -- This will overwrite an existing command --
-// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
diff --git a/playground/typescript-jsx-pinia-with-tests/cypress/support/index.ts b/playground/typescript-jsx-pinia-with-tests/cypress/support/index.ts
deleted file mode 100644 (file)
index d68db96..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// ***********************************************************
-// This example support/index.js is processed and
-// loaded automatically before your test files.
-//
-// This is a great place to put global configuration and
-// behavior that modifies Cypress.
-//
-// You can change the location of this file or turn off
-// automatically serving support files with the
-// 'supportFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/configuration
-// ***********************************************************
-
-// Import commands.js using ES2015 syntax:
-import './commands'
-
-// Alternatively you can use CommonJS syntax:
-// require('./commands')
diff --git a/playground/typescript-jsx-pinia-with-tests/cypress/tsconfig.json b/playground/typescript-jsx-pinia-with-tests/cypress/tsconfig.json
deleted file mode 100644 (file)
index b5b2f97..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "compilerOptions": {
-    "target": "es5",
-    "lib": ["es5", "dom"],
-    "types": ["cypress"]
-  },
-  "include": ["./**/*"]
-}
diff --git a/playground/typescript-jsx-pinia-with-tests/env.d.ts b/playground/typescript-jsx-pinia-with-tests/env.d.ts
deleted file mode 100644 (file)
index 636d9c3..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/// <reference types="vite/client" />
-
-declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
-}
diff --git a/playground/typescript-jsx-pinia-with-tests/index.html b/playground/typescript-jsx-pinia-with-tests/index.html
deleted file mode 100644 (file)
index 11603f8..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.ts"></script>
-  </body>
-</html>
diff --git a/playground/typescript-jsx-pinia-with-tests/package.json b/playground/typescript-jsx-pinia-with-tests/package.json
deleted file mode 100644 (file)
index 5c3927e..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-{
-  "name": "typescript-jsx-pinia-with-tests",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vue-tsc --noEmit && vite build",
-    "preview": "vite preview --port 5050",
-    "test:unit": "cypress open-ct",
-    "test:unit:ci": "cypress run-ct --quiet --reporter spec",
-    "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'",
-    "typecheck": "vue-tsc --noEmit"
-  },
-  "dependencies": {
-    "pinia": "^2.0.4",
-    "vue": "^3.2.22"
-  },
-  "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
-    "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "cypress": "^8.7.0",
-    "start-server-and-test": "^1.14.0",
-    "typescript": "~4.4.4",
-    "vite": "^2.6.14",
-    "vue-tsc": "^0.29.6"
-  }
-}
diff --git a/playground/typescript-jsx-pinia-with-tests/public/favicon.ico b/playground/typescript-jsx-pinia-with-tests/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/typescript-jsx-pinia-with-tests/public/favicon.ico and /dev/null differ
diff --git a/playground/typescript-jsx-pinia-with-tests/src/App.vue b/playground/typescript-jsx-pinia-with-tests/src/App.vue
deleted file mode 100644 (file)
index d91eefc..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<script setup lang="ts">
-import HelloWorld from './components/HelloWorld.vue'
-import TheWelcome from './components/TheWelcome.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
-
-  <main>
-    <TheWelcome />
-  </main>
-</template>
-
-<style>
-@import './assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-pinia-with-tests/src/assets/base.css b/playground/typescript-jsx-pinia-with-tests/src/assets/base.css
deleted file mode 100644 (file)
index 5427a03..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dadarkrk-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/typescript-jsx-pinia-with-tests/src/assets/logo.svg b/playground/typescript-jsx-pinia-with-tests/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/HelloWorld.vue b/playground/typescript-jsx-pinia-with-tests/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index 01118cd..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<script setup lang="ts">
-defineProps<{
-  msg: string
-}>()
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/TheWelcome.vue b/playground/typescript-jsx-pinia-with-tests/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index b91a8ed..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup lang="ts">
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/WelcomeItem.vue b/playground/typescript-jsx-pinia-with-tests/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts b/playground/typescript-jsx-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts
deleted file mode 100644 (file)
index a69f3a9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-import { mount } from '@cypress/vue'
-import HelloWorld from '../HelloWorld.vue'
-
-describe('HelloWorld', () => {
-  it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-  })
-
-  it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-    cy.get('h1').should('contain', 'Hello Cypress')
-  })
-})
diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconSupport.vue b/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconTooling.vue b/playground/typescript-jsx-pinia-with-tests/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-pinia-with-tests/src/main.ts b/playground/typescript-jsx-pinia-with-tests/src/main.ts
deleted file mode 100644 (file)
index 5f77a89..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
-import App from './App.vue'
-
-const app = createApp(App)
-
-app.use(createPinia())
-
-app.mount('#app')
diff --git a/playground/typescript-jsx-pinia-with-tests/src/stores/counter.ts b/playground/typescript-jsx-pinia-with-tests/src/stores/counter.ts
deleted file mode 100644 (file)
index 4a2d242..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-import { defineStore } from 'pinia'
-
-export const useCounterStore = defineStore({
-  id: 'counter',
-  state: () => ({
-    counter: 0
-  }),
-  getters: {
-    doubleCount: (state) => state.counter * 2
-  },
-  actions: {
-    increment() {
-      this.counter++
-    }
-  }
-})
diff --git a/playground/typescript-jsx-pinia-with-tests/tsconfig.json b/playground/typescript-jsx-pinia-with-tests/tsconfig.json
deleted file mode 100644 (file)
index 8c70719..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-{
-  "compilerOptions": {
-    "baseUrl": "./",
-    "target": "esnext",
-    "useDefineForClassFields": true,
-    "module": "esnext",
-    "moduleResolution": "node",
-    "isolatedModules": true,
-    "strict": true,
-    "jsx": "preserve",
-    "sourceMap": true,
-    "resolveJsonModule": true,
-    "esModuleInterop": true,
-    "paths": {
-      "@/*": ["src/*"]
-    },
-    "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
-    "skipLibCheck": true
-  },
-  "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
-}
diff --git a/playground/typescript-jsx-pinia-with-tests/vite.config.ts b/playground/typescript-jsx-pinia-with-tests/vite.config.ts
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/typescript-jsx-pinia/.gitignore b/playground/typescript-jsx-pinia/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/typescript-jsx-pinia/README.md b/playground/typescript-jsx-pinia/README.md
deleted file mode 100644 (file)
index b8c8b93..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# typescript-jsx-pinia
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Type Support for `.vue` Imports in TS
-
-Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates.
-
-However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette.
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Type-Check, Compile and Minify for Production
-
-```sh
-pnpm build
-```
diff --git a/playground/typescript-jsx-pinia/env.d.ts b/playground/typescript-jsx-pinia/env.d.ts
deleted file mode 100644 (file)
index 636d9c3..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/// <reference types="vite/client" />
-
-declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
-}
diff --git a/playground/typescript-jsx-pinia/index.html b/playground/typescript-jsx-pinia/index.html
deleted file mode 100644 (file)
index 11603f8..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.ts"></script>
-  </body>
-</html>
diff --git a/playground/typescript-jsx-pinia/package.json b/playground/typescript-jsx-pinia/package.json
deleted file mode 100644 (file)
index b743676..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-  "name": "typescript-jsx-pinia",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vue-tsc --noEmit && vite build",
-    "preview": "vite preview --port 5050",
-    "typecheck": "vue-tsc --noEmit"
-  },
-  "dependencies": {
-    "pinia": "^2.0.4",
-    "vue": "^3.2.22"
-  },
-  "devDependencies": {
-    "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "typescript": "~4.4.4",
-    "vite": "^2.6.14",
-    "vue-tsc": "^0.29.6"
-  }
-}
diff --git a/playground/typescript-jsx-pinia/public/favicon.ico b/playground/typescript-jsx-pinia/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/typescript-jsx-pinia/public/favicon.ico and /dev/null differ
diff --git a/playground/typescript-jsx-pinia/src/App.vue b/playground/typescript-jsx-pinia/src/App.vue
deleted file mode 100644 (file)
index d91eefc..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<script setup lang="ts">
-import HelloWorld from './components/HelloWorld.vue'
-import TheWelcome from './components/TheWelcome.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
-
-  <main>
-    <TheWelcome />
-  </main>
-</template>
-
-<style>
-@import './assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-pinia/src/assets/base.css b/playground/typescript-jsx-pinia/src/assets/base.css
deleted file mode 100644 (file)
index 5427a03..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dadarkrk-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/typescript-jsx-pinia/src/assets/logo.svg b/playground/typescript-jsx-pinia/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/typescript-jsx-pinia/src/components/HelloWorld.vue b/playground/typescript-jsx-pinia/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index 01118cd..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<script setup lang="ts">
-defineProps<{
-  msg: string
-}>()
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-pinia/src/components/TheWelcome.vue b/playground/typescript-jsx-pinia/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index b91a8ed..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup lang="ts">
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/typescript-jsx-pinia/src/components/WelcomeItem.vue b/playground/typescript-jsx-pinia/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-pinia/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-pinia/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-pinia/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-pinia/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-pinia/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-pinia/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-pinia/src/components/icons/IconSupport.vue b/playground/typescript-jsx-pinia/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-pinia/src/components/icons/IconTooling.vue b/playground/typescript-jsx-pinia/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-pinia/src/main.ts b/playground/typescript-jsx-pinia/src/main.ts
deleted file mode 100644 (file)
index 5f77a89..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
-import App from './App.vue'
-
-const app = createApp(App)
-
-app.use(createPinia())
-
-app.mount('#app')
diff --git a/playground/typescript-jsx-pinia/src/stores/counter.ts b/playground/typescript-jsx-pinia/src/stores/counter.ts
deleted file mode 100644 (file)
index 4a2d242..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-import { defineStore } from 'pinia'
-
-export const useCounterStore = defineStore({
-  id: 'counter',
-  state: () => ({
-    counter: 0
-  }),
-  getters: {
-    doubleCount: (state) => state.counter * 2
-  },
-  actions: {
-    increment() {
-      this.counter++
-    }
-  }
-})
diff --git a/playground/typescript-jsx-pinia/tsconfig.json b/playground/typescript-jsx-pinia/tsconfig.json
deleted file mode 100644 (file)
index 8c70719..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-{
-  "compilerOptions": {
-    "baseUrl": "./",
-    "target": "esnext",
-    "useDefineForClassFields": true,
-    "module": "esnext",
-    "moduleResolution": "node",
-    "isolatedModules": true,
-    "strict": true,
-    "jsx": "preserve",
-    "sourceMap": true,
-    "resolveJsonModule": true,
-    "esModuleInterop": true,
-    "paths": {
-      "@/*": ["src/*"]
-    },
-    "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
-    "skipLibCheck": true
-  },
-  "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
-}
diff --git a/playground/typescript-jsx-pinia/vite.config.ts b/playground/typescript-jsx-pinia/vite.config.ts
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/typescript-jsx-router-pinia-with-tests/.gitignore b/playground/typescript-jsx-router-pinia-with-tests/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/typescript-jsx-router-pinia-with-tests/README.md b/playground/typescript-jsx-router-pinia-with-tests/README.md
deleted file mode 100644 (file)
index 4353bb5..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-# typescript-jsx-router-pinia-with-tests
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Type Support for `.vue` Imports in TS
-
-Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates.
-
-However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette.
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Type-Check, Compile and Minify for Production
-
-```sh
-pnpm build
-```
-
-### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction)
-
-```sh
-pnpm test:unit # or `pnpm test:unit:ci` for headless testing
-```
-
-### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
-
-```sh
-pnpm build
-pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
-```
diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress.json b/playground/typescript-jsx-router-pinia-with-tests/cypress.json
deleted file mode 100644 (file)
index 3d37225..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "baseUrl": "http://localhost:5050",
-  "component": {
-    "componentFolder": "src",
-    "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}"
-  }
-}
diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress/fixtures/example.json b/playground/typescript-jsx-router-pinia-with-tests/cypress/fixtures/example.json
deleted file mode 100644 (file)
index 02e4254..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-  "name": "Using fixtures to represent data",
-  "email": "hello@cypress.io",
-  "body": "Fixtures are a great way to mock data for responses to routes"
-}
diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress/integration/example.spec.ts b/playground/typescript-jsx-router-pinia-with-tests/cypress/integration/example.spec.ts
deleted file mode 100644 (file)
index 13a2922..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// https://docs.cypress.io/api/introduction/api.html
-
-describe('My First Test', () => {
-  it('visits the app root url', () => {
-    cy.visit('/')
-    cy.contains('h1', 'You did it!')
-  })
-
-  it('navigates to the about page', () => {
-    cy.visit('/about')
-    cy.contains('h1', 'This is an about page')
-  })
-})
diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress/plugins/index.ts b/playground/typescript-jsx-router-pinia-with-tests/cypress/plugins/index.ts
deleted file mode 100644 (file)
index ad2e351..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/// <reference types="cypress" />
-// ***********************************************************
-// This example plugins/index.js can be used to load plugins
-//
-// You can change the location of this file or turn off loading
-// the plugins file with the 'pluginsFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/plugins-guide
-// ***********************************************************
-
-// This function is called when a project is opened or re-opened (e.g. due to
-// the project's config changing)
-
-const { startDevServer } = require('@cypress/vite-dev-server')
-
-/**
- * @type {Cypress.PluginConfig}
- */
-// eslint-disable-next-line no-unused-vars
-module.exports = (on, config) => {
-  // `on` is used to hook into various events Cypress emits
-  // `config` is the resolved Cypress config
-  on('dev-server:start', (options) => {
-    return startDevServer({ options })
-  })
-  return config
-}
diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress/support/commands.ts b/playground/typescript-jsx-router-pinia-with-tests/cypress/support/commands.ts
deleted file mode 100644 (file)
index 119ab03..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// ***********************************************
-// This example commands.js shows you how to
-// create various custom commands and overwrite
-// existing commands.
-//
-// For more comprehensive examples of custom
-// commands please read more here:
-// https://on.cypress.io/custom-commands
-// ***********************************************
-//
-//
-// -- This is a parent command --
-// Cypress.Commands.add('login', (email, password) => { ... })
-//
-//
-// -- This is a child command --
-// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
-//
-//
-// -- This is a dual command --
-// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
-//
-//
-// -- This will overwrite an existing command --
-// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress/support/index.ts b/playground/typescript-jsx-router-pinia-with-tests/cypress/support/index.ts
deleted file mode 100644 (file)
index d68db96..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// ***********************************************************
-// This example support/index.js is processed and
-// loaded automatically before your test files.
-//
-// This is a great place to put global configuration and
-// behavior that modifies Cypress.
-//
-// You can change the location of this file or turn off
-// automatically serving support files with the
-// 'supportFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/configuration
-// ***********************************************************
-
-// Import commands.js using ES2015 syntax:
-import './commands'
-
-// Alternatively you can use CommonJS syntax:
-// require('./commands')
diff --git a/playground/typescript-jsx-router-pinia-with-tests/cypress/tsconfig.json b/playground/typescript-jsx-router-pinia-with-tests/cypress/tsconfig.json
deleted file mode 100644 (file)
index b5b2f97..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "compilerOptions": {
-    "target": "es5",
-    "lib": ["es5", "dom"],
-    "types": ["cypress"]
-  },
-  "include": ["./**/*"]
-}
diff --git a/playground/typescript-jsx-router-pinia-with-tests/env.d.ts b/playground/typescript-jsx-router-pinia-with-tests/env.d.ts
deleted file mode 100644 (file)
index 636d9c3..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/// <reference types="vite/client" />
-
-declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
-}
diff --git a/playground/typescript-jsx-router-pinia-with-tests/index.html b/playground/typescript-jsx-router-pinia-with-tests/index.html
deleted file mode 100644 (file)
index 11603f8..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.ts"></script>
-  </body>
-</html>
diff --git a/playground/typescript-jsx-router-pinia-with-tests/package.json b/playground/typescript-jsx-router-pinia-with-tests/package.json
deleted file mode 100644 (file)
index bf68ad2..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-{
-  "name": "typescript-jsx-router-pinia-with-tests",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vue-tsc --noEmit && vite build",
-    "preview": "vite preview --port 5050",
-    "test:unit": "cypress open-ct",
-    "test:unit:ci": "cypress run-ct --quiet --reporter spec",
-    "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'",
-    "typecheck": "vue-tsc --noEmit"
-  },
-  "dependencies": {
-    "pinia": "^2.0.4",
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
-  },
-  "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
-    "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "cypress": "^8.7.0",
-    "start-server-and-test": "^1.14.0",
-    "typescript": "~4.4.4",
-    "vite": "^2.6.14",
-    "vue-tsc": "^0.29.6"
-  }
-}
diff --git a/playground/typescript-jsx-router-pinia-with-tests/public/favicon.ico b/playground/typescript-jsx-router-pinia-with-tests/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/typescript-jsx-router-pinia-with-tests/public/favicon.ico and /dev/null differ
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/App.vue b/playground/typescript-jsx-router-pinia-with-tests/src/App.vue
deleted file mode 100644 (file)
index 8a1e9b1..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-<script setup lang="ts">
-import HelloWorld from '@/components/HelloWorld.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
-</template>
-
-<style>
-@import '@/assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-  max-height: 100vh;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-nav {
-  width: 100%;
-  font-size: 12px;
-  text-align: center;
-  margin-top: 2rem;
-}
-
-nav a.router-link-exact-active {
-  color: var(--color-text);
-}
-
-nav a.router-link-exact-active:hover {
-  background-color: transparent;
-}
-
-nav a {
-  display: inline-block;
-  padding: 0 1rem;
-  border-left: 1px solid var(--color-border);
-}
-
-nav a:first-of-type {
-  border: 0;
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-
-  nav {
-    text-align: left;
-    margin-left: -1rem;
-    font-size: 1rem;
-
-    padding: 1rem 0;
-    margin-top: 1rem;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/assets/base.css b/playground/typescript-jsx-router-pinia-with-tests/src/assets/base.css
deleted file mode 100644 (file)
index 71dc55a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/assets/logo.svg b/playground/typescript-jsx-router-pinia-with-tests/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/HelloWorld.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index 987adb9..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<script setup lang="ts">
-defineProps<{
-  msg: string
-}>()
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>. What's next?
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/TheWelcome.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index b91a8ed..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup lang="ts">
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/WelcomeItem.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts b/playground/typescript-jsx-router-pinia-with-tests/src/components/__tests__/HelloWorld.spec.ts
deleted file mode 100644 (file)
index a69f3a9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-import { mount } from '@cypress/vue'
-import HelloWorld from '../HelloWorld.vue'
-
-describe('HelloWorld', () => {
-  it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-  })
-
-  it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-    cy.get('h1').should('contain', 'Hello Cypress')
-  })
-})
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue b/playground/typescript-jsx-router-pinia-with-tests/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/main.ts b/playground/typescript-jsx-router-pinia-with-tests/src/main.ts
deleted file mode 100644 (file)
index fda1e6e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
-
-import App from './App.vue'
-import router from './router'
-
-const app = createApp(App)
-
-app.use(createPinia())
-app.use(router)
-
-app.mount('#app')
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/router/index.ts b/playground/typescript-jsx-router-pinia-with-tests/src/router/index.ts
deleted file mode 100644 (file)
index a49ae50..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-import { createRouter, createWebHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
-
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
-  routes: [
-    {
-      path: '/',
-      name: 'home',
-      component: HomeView
-    },
-    {
-      path: '/about',
-      name: 'about',
-      // route level code-splitting
-      // this generates a separate chunk (About.[hash].js) for this route
-      // which is lazy-loaded when the route is visited.
-      component: () => import('../views/AboutView.vue')
-    }
-  ]
-})
-
-export default router
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/stores/counter.ts b/playground/typescript-jsx-router-pinia-with-tests/src/stores/counter.ts
deleted file mode 100644 (file)
index 4a2d242..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-import { defineStore } from 'pinia'
-
-export const useCounterStore = defineStore({
-  id: 'counter',
-  state: () => ({
-    counter: 0
-  }),
-  getters: {
-    doubleCount: (state) => state.counter * 2
-  },
-  actions: {
-    increment() {
-      this.counter++
-    }
-  }
-})
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/views/AboutView.vue b/playground/typescript-jsx-router-pinia-with-tests/src/views/AboutView.vue
deleted file mode 100644 (file)
index 756ad2a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<template>
-  <div class="about">
-    <h1>This is an about page</h1>
-  </div>
-</template>
-
-<style>
-@media (min-width: 1024px) {
-  .about {
-    min-height: 100vh;
-    display: flex;
-    align-items: center;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router-pinia-with-tests/src/views/HomeView.vue b/playground/typescript-jsx-router-pinia-with-tests/src/views/HomeView.vue
deleted file mode 100644 (file)
index 6555a64..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<script setup lang="ts">
-import TheWelcome from '@/components/TheWelcome.vue'
-</script>
-
-<template>
-  <main>
-    <TheWelcome />
-  </main>
-</template>
diff --git a/playground/typescript-jsx-router-pinia-with-tests/tsconfig.json b/playground/typescript-jsx-router-pinia-with-tests/tsconfig.json
deleted file mode 100644 (file)
index 8c70719..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-{
-  "compilerOptions": {
-    "baseUrl": "./",
-    "target": "esnext",
-    "useDefineForClassFields": true,
-    "module": "esnext",
-    "moduleResolution": "node",
-    "isolatedModules": true,
-    "strict": true,
-    "jsx": "preserve",
-    "sourceMap": true,
-    "resolveJsonModule": true,
-    "esModuleInterop": true,
-    "paths": {
-      "@/*": ["src/*"]
-    },
-    "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
-    "skipLibCheck": true
-  },
-  "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
-}
diff --git a/playground/typescript-jsx-router-pinia-with-tests/vite.config.ts b/playground/typescript-jsx-router-pinia-with-tests/vite.config.ts
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/typescript-jsx-router-pinia/.gitignore b/playground/typescript-jsx-router-pinia/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/typescript-jsx-router-pinia/README.md b/playground/typescript-jsx-router-pinia/README.md
deleted file mode 100644 (file)
index a17dd34..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# typescript-jsx-router-pinia
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Type Support for `.vue` Imports in TS
-
-Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates.
-
-However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette.
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Type-Check, Compile and Minify for Production
-
-```sh
-pnpm build
-```
diff --git a/playground/typescript-jsx-router-pinia/env.d.ts b/playground/typescript-jsx-router-pinia/env.d.ts
deleted file mode 100644 (file)
index 636d9c3..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/// <reference types="vite/client" />
-
-declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
-}
diff --git a/playground/typescript-jsx-router-pinia/index.html b/playground/typescript-jsx-router-pinia/index.html
deleted file mode 100644 (file)
index 11603f8..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.ts"></script>
-  </body>
-</html>
diff --git a/playground/typescript-jsx-router-pinia/package.json b/playground/typescript-jsx-router-pinia/package.json
deleted file mode 100644 (file)
index 621a41a..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-{
-  "name": "typescript-jsx-router-pinia",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vue-tsc --noEmit && vite build",
-    "preview": "vite preview --port 5050",
-    "typecheck": "vue-tsc --noEmit"
-  },
-  "dependencies": {
-    "pinia": "^2.0.4",
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
-  },
-  "devDependencies": {
-    "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "typescript": "~4.4.4",
-    "vite": "^2.6.14",
-    "vue-tsc": "^0.29.6"
-  }
-}
diff --git a/playground/typescript-jsx-router-pinia/public/favicon.ico b/playground/typescript-jsx-router-pinia/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/typescript-jsx-router-pinia/public/favicon.ico and /dev/null differ
diff --git a/playground/typescript-jsx-router-pinia/src/App.vue b/playground/typescript-jsx-router-pinia/src/App.vue
deleted file mode 100644 (file)
index 8a1e9b1..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-<script setup lang="ts">
-import HelloWorld from '@/components/HelloWorld.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
-</template>
-
-<style>
-@import '@/assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-  max-height: 100vh;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-nav {
-  width: 100%;
-  font-size: 12px;
-  text-align: center;
-  margin-top: 2rem;
-}
-
-nav a.router-link-exact-active {
-  color: var(--color-text);
-}
-
-nav a.router-link-exact-active:hover {
-  background-color: transparent;
-}
-
-nav a {
-  display: inline-block;
-  padding: 0 1rem;
-  border-left: 1px solid var(--color-border);
-}
-
-nav a:first-of-type {
-  border: 0;
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-
-  nav {
-    text-align: left;
-    margin-left: -1rem;
-    font-size: 1rem;
-
-    padding: 1rem 0;
-    margin-top: 1rem;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router-pinia/src/assets/base.css b/playground/typescript-jsx-router-pinia/src/assets/base.css
deleted file mode 100644 (file)
index 71dc55a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/typescript-jsx-router-pinia/src/assets/logo.svg b/playground/typescript-jsx-router-pinia/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/typescript-jsx-router-pinia/src/components/HelloWorld.vue b/playground/typescript-jsx-router-pinia/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index 987adb9..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<script setup lang="ts">
-defineProps<{
-  msg: string
-}>()
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>. What's next?
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router-pinia/src/components/TheWelcome.vue b/playground/typescript-jsx-router-pinia/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index b91a8ed..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup lang="ts">
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/typescript-jsx-router-pinia/src/components/WelcomeItem.vue b/playground/typescript-jsx-router-pinia/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router-pinia/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-router-pinia/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-pinia/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-router-pinia/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-pinia/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-router-pinia/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-pinia/src/components/icons/IconSupport.vue b/playground/typescript-jsx-router-pinia/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-pinia/src/components/icons/IconTooling.vue b/playground/typescript-jsx-router-pinia/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-pinia/src/main.ts b/playground/typescript-jsx-router-pinia/src/main.ts
deleted file mode 100644 (file)
index fda1e6e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
-
-import App from './App.vue'
-import router from './router'
-
-const app = createApp(App)
-
-app.use(createPinia())
-app.use(router)
-
-app.mount('#app')
diff --git a/playground/typescript-jsx-router-pinia/src/router/index.ts b/playground/typescript-jsx-router-pinia/src/router/index.ts
deleted file mode 100644 (file)
index a49ae50..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-import { createRouter, createWebHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
-
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
-  routes: [
-    {
-      path: '/',
-      name: 'home',
-      component: HomeView
-    },
-    {
-      path: '/about',
-      name: 'about',
-      // route level code-splitting
-      // this generates a separate chunk (About.[hash].js) for this route
-      // which is lazy-loaded when the route is visited.
-      component: () => import('../views/AboutView.vue')
-    }
-  ]
-})
-
-export default router
diff --git a/playground/typescript-jsx-router-pinia/src/stores/counter.ts b/playground/typescript-jsx-router-pinia/src/stores/counter.ts
deleted file mode 100644 (file)
index 4a2d242..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-import { defineStore } from 'pinia'
-
-export const useCounterStore = defineStore({
-  id: 'counter',
-  state: () => ({
-    counter: 0
-  }),
-  getters: {
-    doubleCount: (state) => state.counter * 2
-  },
-  actions: {
-    increment() {
-      this.counter++
-    }
-  }
-})
diff --git a/playground/typescript-jsx-router-pinia/src/views/AboutView.vue b/playground/typescript-jsx-router-pinia/src/views/AboutView.vue
deleted file mode 100644 (file)
index 756ad2a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<template>
-  <div class="about">
-    <h1>This is an about page</h1>
-  </div>
-</template>
-
-<style>
-@media (min-width: 1024px) {
-  .about {
-    min-height: 100vh;
-    display: flex;
-    align-items: center;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router-pinia/src/views/HomeView.vue b/playground/typescript-jsx-router-pinia/src/views/HomeView.vue
deleted file mode 100644 (file)
index 6555a64..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<script setup lang="ts">
-import TheWelcome from '@/components/TheWelcome.vue'
-</script>
-
-<template>
-  <main>
-    <TheWelcome />
-  </main>
-</template>
diff --git a/playground/typescript-jsx-router-pinia/tsconfig.json b/playground/typescript-jsx-router-pinia/tsconfig.json
deleted file mode 100644 (file)
index 8c70719..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-{
-  "compilerOptions": {
-    "baseUrl": "./",
-    "target": "esnext",
-    "useDefineForClassFields": true,
-    "module": "esnext",
-    "moduleResolution": "node",
-    "isolatedModules": true,
-    "strict": true,
-    "jsx": "preserve",
-    "sourceMap": true,
-    "resolveJsonModule": true,
-    "esModuleInterop": true,
-    "paths": {
-      "@/*": ["src/*"]
-    },
-    "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
-    "skipLibCheck": true
-  },
-  "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
-}
diff --git a/playground/typescript-jsx-router-pinia/vite.config.ts b/playground/typescript-jsx-router-pinia/vite.config.ts
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/typescript-jsx-router-with-tests/.gitignore b/playground/typescript-jsx-router-with-tests/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/typescript-jsx-router-with-tests/README.md b/playground/typescript-jsx-router-with-tests/README.md
deleted file mode 100644 (file)
index d75a977..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-# typescript-jsx-router-with-tests
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Type Support for `.vue` Imports in TS
-
-Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates.
-
-However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette.
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Type-Check, Compile and Minify for Production
-
-```sh
-pnpm build
-```
-
-### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction)
-
-```sh
-pnpm test:unit # or `pnpm test:unit:ci` for headless testing
-```
-
-### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
-
-```sh
-pnpm build
-pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
-```
diff --git a/playground/typescript-jsx-router-with-tests/cypress.json b/playground/typescript-jsx-router-with-tests/cypress.json
deleted file mode 100644 (file)
index 3d37225..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "baseUrl": "http://localhost:5050",
-  "component": {
-    "componentFolder": "src",
-    "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}"
-  }
-}
diff --git a/playground/typescript-jsx-router-with-tests/cypress/fixtures/example.json b/playground/typescript-jsx-router-with-tests/cypress/fixtures/example.json
deleted file mode 100644 (file)
index 02e4254..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-  "name": "Using fixtures to represent data",
-  "email": "hello@cypress.io",
-  "body": "Fixtures are a great way to mock data for responses to routes"
-}
diff --git a/playground/typescript-jsx-router-with-tests/cypress/integration/example.spec.ts b/playground/typescript-jsx-router-with-tests/cypress/integration/example.spec.ts
deleted file mode 100644 (file)
index 13a2922..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// https://docs.cypress.io/api/introduction/api.html
-
-describe('My First Test', () => {
-  it('visits the app root url', () => {
-    cy.visit('/')
-    cy.contains('h1', 'You did it!')
-  })
-
-  it('navigates to the about page', () => {
-    cy.visit('/about')
-    cy.contains('h1', 'This is an about page')
-  })
-})
diff --git a/playground/typescript-jsx-router-with-tests/cypress/plugins/index.ts b/playground/typescript-jsx-router-with-tests/cypress/plugins/index.ts
deleted file mode 100644 (file)
index ad2e351..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/// <reference types="cypress" />
-// ***********************************************************
-// This example plugins/index.js can be used to load plugins
-//
-// You can change the location of this file or turn off loading
-// the plugins file with the 'pluginsFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/plugins-guide
-// ***********************************************************
-
-// This function is called when a project is opened or re-opened (e.g. due to
-// the project's config changing)
-
-const { startDevServer } = require('@cypress/vite-dev-server')
-
-/**
- * @type {Cypress.PluginConfig}
- */
-// eslint-disable-next-line no-unused-vars
-module.exports = (on, config) => {
-  // `on` is used to hook into various events Cypress emits
-  // `config` is the resolved Cypress config
-  on('dev-server:start', (options) => {
-    return startDevServer({ options })
-  })
-  return config
-}
diff --git a/playground/typescript-jsx-router-with-tests/cypress/support/commands.ts b/playground/typescript-jsx-router-with-tests/cypress/support/commands.ts
deleted file mode 100644 (file)
index 119ab03..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// ***********************************************
-// This example commands.js shows you how to
-// create various custom commands and overwrite
-// existing commands.
-//
-// For more comprehensive examples of custom
-// commands please read more here:
-// https://on.cypress.io/custom-commands
-// ***********************************************
-//
-//
-// -- This is a parent command --
-// Cypress.Commands.add('login', (email, password) => { ... })
-//
-//
-// -- This is a child command --
-// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
-//
-//
-// -- This is a dual command --
-// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
-//
-//
-// -- This will overwrite an existing command --
-// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
diff --git a/playground/typescript-jsx-router-with-tests/cypress/support/index.ts b/playground/typescript-jsx-router-with-tests/cypress/support/index.ts
deleted file mode 100644 (file)
index d68db96..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// ***********************************************************
-// This example support/index.js is processed and
-// loaded automatically before your test files.
-//
-// This is a great place to put global configuration and
-// behavior that modifies Cypress.
-//
-// You can change the location of this file or turn off
-// automatically serving support files with the
-// 'supportFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/configuration
-// ***********************************************************
-
-// Import commands.js using ES2015 syntax:
-import './commands'
-
-// Alternatively you can use CommonJS syntax:
-// require('./commands')
diff --git a/playground/typescript-jsx-router-with-tests/cypress/tsconfig.json b/playground/typescript-jsx-router-with-tests/cypress/tsconfig.json
deleted file mode 100644 (file)
index b5b2f97..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "compilerOptions": {
-    "target": "es5",
-    "lib": ["es5", "dom"],
-    "types": ["cypress"]
-  },
-  "include": ["./**/*"]
-}
diff --git a/playground/typescript-jsx-router-with-tests/env.d.ts b/playground/typescript-jsx-router-with-tests/env.d.ts
deleted file mode 100644 (file)
index 636d9c3..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/// <reference types="vite/client" />
-
-declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
-}
diff --git a/playground/typescript-jsx-router-with-tests/index.html b/playground/typescript-jsx-router-with-tests/index.html
deleted file mode 100644 (file)
index 11603f8..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.ts"></script>
-  </body>
-</html>
diff --git a/playground/typescript-jsx-router-with-tests/package.json b/playground/typescript-jsx-router-with-tests/package.json
deleted file mode 100644 (file)
index cc74af2..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-{
-  "name": "typescript-jsx-router-with-tests",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vue-tsc --noEmit && vite build",
-    "preview": "vite preview --port 5050",
-    "test:unit": "cypress open-ct",
-    "test:unit:ci": "cypress run-ct --quiet --reporter spec",
-    "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'",
-    "typecheck": "vue-tsc --noEmit"
-  },
-  "dependencies": {
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
-  },
-  "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
-    "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "cypress": "^8.7.0",
-    "start-server-and-test": "^1.14.0",
-    "typescript": "~4.4.4",
-    "vite": "^2.6.14",
-    "vue-tsc": "^0.29.6"
-  }
-}
diff --git a/playground/typescript-jsx-router-with-tests/public/favicon.ico b/playground/typescript-jsx-router-with-tests/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/typescript-jsx-router-with-tests/public/favicon.ico and /dev/null differ
diff --git a/playground/typescript-jsx-router-with-tests/src/App.vue b/playground/typescript-jsx-router-with-tests/src/App.vue
deleted file mode 100644 (file)
index 8a1e9b1..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-<script setup lang="ts">
-import HelloWorld from '@/components/HelloWorld.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
-</template>
-
-<style>
-@import '@/assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-  max-height: 100vh;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-nav {
-  width: 100%;
-  font-size: 12px;
-  text-align: center;
-  margin-top: 2rem;
-}
-
-nav a.router-link-exact-active {
-  color: var(--color-text);
-}
-
-nav a.router-link-exact-active:hover {
-  background-color: transparent;
-}
-
-nav a {
-  display: inline-block;
-  padding: 0 1rem;
-  border-left: 1px solid var(--color-border);
-}
-
-nav a:first-of-type {
-  border: 0;
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-
-  nav {
-    text-align: left;
-    margin-left: -1rem;
-    font-size: 1rem;
-
-    padding: 1rem 0;
-    margin-top: 1rem;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router-with-tests/src/assets/base.css b/playground/typescript-jsx-router-with-tests/src/assets/base.css
deleted file mode 100644 (file)
index 71dc55a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/typescript-jsx-router-with-tests/src/assets/logo.svg b/playground/typescript-jsx-router-with-tests/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/typescript-jsx-router-with-tests/src/components/HelloWorld.vue b/playground/typescript-jsx-router-with-tests/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index 987adb9..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<script setup lang="ts">
-defineProps<{
-  msg: string
-}>()
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>. What's next?
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router-with-tests/src/components/TheWelcome.vue b/playground/typescript-jsx-router-with-tests/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index b91a8ed..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup lang="ts">
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/typescript-jsx-router-with-tests/src/components/WelcomeItem.vue b/playground/typescript-jsx-router-with-tests/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.ts b/playground/typescript-jsx-router-with-tests/src/components/__tests__/HelloWorld.spec.ts
deleted file mode 100644 (file)
index a69f3a9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-import { mount } from '@cypress/vue'
-import HelloWorld from '../HelloWorld.vue'
-
-describe('HelloWorld', () => {
-  it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-  })
-
-  it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-    cy.get('h1').should('contain', 'Hello Cypress')
-  })
-})
diff --git a/playground/typescript-jsx-router-with-tests/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-router-with-tests/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-with-tests/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-router-with-tests/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-with-tests/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-router-with-tests/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-with-tests/src/components/icons/IconSupport.vue b/playground/typescript-jsx-router-with-tests/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-with-tests/src/components/icons/IconTooling.vue b/playground/typescript-jsx-router-with-tests/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router-with-tests/src/main.ts b/playground/typescript-jsx-router-with-tests/src/main.ts
deleted file mode 100644 (file)
index c8e37b0..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-import { createApp } from 'vue'
-import App from './App.vue'
-import router from './router'
-
-const app = createApp(App)
-
-app.use(router)
-
-app.mount('#app')
diff --git a/playground/typescript-jsx-router-with-tests/src/router/index.ts b/playground/typescript-jsx-router-with-tests/src/router/index.ts
deleted file mode 100644 (file)
index a49ae50..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-import { createRouter, createWebHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
-
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
-  routes: [
-    {
-      path: '/',
-      name: 'home',
-      component: HomeView
-    },
-    {
-      path: '/about',
-      name: 'about',
-      // route level code-splitting
-      // this generates a separate chunk (About.[hash].js) for this route
-      // which is lazy-loaded when the route is visited.
-      component: () => import('../views/AboutView.vue')
-    }
-  ]
-})
-
-export default router
diff --git a/playground/typescript-jsx-router-with-tests/src/views/AboutView.vue b/playground/typescript-jsx-router-with-tests/src/views/AboutView.vue
deleted file mode 100644 (file)
index 756ad2a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<template>
-  <div class="about">
-    <h1>This is an about page</h1>
-  </div>
-</template>
-
-<style>
-@media (min-width: 1024px) {
-  .about {
-    min-height: 100vh;
-    display: flex;
-    align-items: center;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router-with-tests/src/views/HomeView.vue b/playground/typescript-jsx-router-with-tests/src/views/HomeView.vue
deleted file mode 100644 (file)
index 6555a64..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<script setup lang="ts">
-import TheWelcome from '@/components/TheWelcome.vue'
-</script>
-
-<template>
-  <main>
-    <TheWelcome />
-  </main>
-</template>
diff --git a/playground/typescript-jsx-router-with-tests/tsconfig.json b/playground/typescript-jsx-router-with-tests/tsconfig.json
deleted file mode 100644 (file)
index 8c70719..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-{
-  "compilerOptions": {
-    "baseUrl": "./",
-    "target": "esnext",
-    "useDefineForClassFields": true,
-    "module": "esnext",
-    "moduleResolution": "node",
-    "isolatedModules": true,
-    "strict": true,
-    "jsx": "preserve",
-    "sourceMap": true,
-    "resolveJsonModule": true,
-    "esModuleInterop": true,
-    "paths": {
-      "@/*": ["src/*"]
-    },
-    "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
-    "skipLibCheck": true
-  },
-  "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
-}
diff --git a/playground/typescript-jsx-router-with-tests/vite.config.ts b/playground/typescript-jsx-router-with-tests/vite.config.ts
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/typescript-jsx-router/.gitignore b/playground/typescript-jsx-router/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/typescript-jsx-router/README.md b/playground/typescript-jsx-router/README.md
deleted file mode 100644 (file)
index 1b2118a..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# typescript-jsx-router
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Type Support for `.vue` Imports in TS
-
-Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates.
-
-However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette.
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Type-Check, Compile and Minify for Production
-
-```sh
-pnpm build
-```
diff --git a/playground/typescript-jsx-router/env.d.ts b/playground/typescript-jsx-router/env.d.ts
deleted file mode 100644 (file)
index 636d9c3..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/// <reference types="vite/client" />
-
-declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
-}
diff --git a/playground/typescript-jsx-router/index.html b/playground/typescript-jsx-router/index.html
deleted file mode 100644 (file)
index 11603f8..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.ts"></script>
-  </body>
-</html>
diff --git a/playground/typescript-jsx-router/package.json b/playground/typescript-jsx-router/package.json
deleted file mode 100644 (file)
index d54b04c..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-  "name": "typescript-jsx-router",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vue-tsc --noEmit && vite build",
-    "preview": "vite preview --port 5050",
-    "typecheck": "vue-tsc --noEmit"
-  },
-  "dependencies": {
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
-  },
-  "devDependencies": {
-    "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "typescript": "~4.4.4",
-    "vite": "^2.6.14",
-    "vue-tsc": "^0.29.6"
-  }
-}
diff --git a/playground/typescript-jsx-router/public/favicon.ico b/playground/typescript-jsx-router/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/typescript-jsx-router/public/favicon.ico and /dev/null differ
diff --git a/playground/typescript-jsx-router/src/App.vue b/playground/typescript-jsx-router/src/App.vue
deleted file mode 100644 (file)
index 8a1e9b1..0000000
+++ /dev/null
@@ -1,118 +0,0 @@
-<script setup lang="ts">
-import HelloWorld from '@/components/HelloWorld.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
-</template>
-
-<style>
-@import '@/assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-  max-height: 100vh;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-nav {
-  width: 100%;
-  font-size: 12px;
-  text-align: center;
-  margin-top: 2rem;
-}
-
-nav a.router-link-exact-active {
-  color: var(--color-text);
-}
-
-nav a.router-link-exact-active:hover {
-  background-color: transparent;
-}
-
-nav a {
-  display: inline-block;
-  padding: 0 1rem;
-  border-left: 1px solid var(--color-border);
-}
-
-nav a:first-of-type {
-  border: 0;
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-
-  nav {
-    text-align: left;
-    margin-left: -1rem;
-    font-size: 1rem;
-
-    padding: 1rem 0;
-    margin-top: 1rem;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router/src/assets/base.css b/playground/typescript-jsx-router/src/assets/base.css
deleted file mode 100644 (file)
index 71dc55a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/typescript-jsx-router/src/assets/logo.svg b/playground/typescript-jsx-router/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/typescript-jsx-router/src/components/HelloWorld.vue b/playground/typescript-jsx-router/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index 987adb9..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<script setup lang="ts">
-defineProps<{
-  msg: string
-}>()
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>. What's next?
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router/src/components/TheWelcome.vue b/playground/typescript-jsx-router/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index b91a8ed..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup lang="ts">
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/typescript-jsx-router/src/components/WelcomeItem.vue b/playground/typescript-jsx-router/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-router/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-router/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-router/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router/src/components/icons/IconSupport.vue b/playground/typescript-jsx-router/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router/src/components/icons/IconTooling.vue b/playground/typescript-jsx-router/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-router/src/main.ts b/playground/typescript-jsx-router/src/main.ts
deleted file mode 100644 (file)
index c8e37b0..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-import { createApp } from 'vue'
-import App from './App.vue'
-import router from './router'
-
-const app = createApp(App)
-
-app.use(router)
-
-app.mount('#app')
diff --git a/playground/typescript-jsx-router/src/router/index.ts b/playground/typescript-jsx-router/src/router/index.ts
deleted file mode 100644 (file)
index a49ae50..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-import { createRouter, createWebHistory } from 'vue-router'
-import HomeView from '../views/HomeView.vue'
-
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
-  routes: [
-    {
-      path: '/',
-      name: 'home',
-      component: HomeView
-    },
-    {
-      path: '/about',
-      name: 'about',
-      // route level code-splitting
-      // this generates a separate chunk (About.[hash].js) for this route
-      // which is lazy-loaded when the route is visited.
-      component: () => import('../views/AboutView.vue')
-    }
-  ]
-})
-
-export default router
diff --git a/playground/typescript-jsx-router/src/views/AboutView.vue b/playground/typescript-jsx-router/src/views/AboutView.vue
deleted file mode 100644 (file)
index 756ad2a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<template>
-  <div class="about">
-    <h1>This is an about page</h1>
-  </div>
-</template>
-
-<style>
-@media (min-width: 1024px) {
-  .about {
-    min-height: 100vh;
-    display: flex;
-    align-items: center;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-router/src/views/HomeView.vue b/playground/typescript-jsx-router/src/views/HomeView.vue
deleted file mode 100644 (file)
index 6555a64..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<script setup lang="ts">
-import TheWelcome from '@/components/TheWelcome.vue'
-</script>
-
-<template>
-  <main>
-    <TheWelcome />
-  </main>
-</template>
diff --git a/playground/typescript-jsx-router/tsconfig.json b/playground/typescript-jsx-router/tsconfig.json
deleted file mode 100644 (file)
index 8c70719..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-{
-  "compilerOptions": {
-    "baseUrl": "./",
-    "target": "esnext",
-    "useDefineForClassFields": true,
-    "module": "esnext",
-    "moduleResolution": "node",
-    "isolatedModules": true,
-    "strict": true,
-    "jsx": "preserve",
-    "sourceMap": true,
-    "resolveJsonModule": true,
-    "esModuleInterop": true,
-    "paths": {
-      "@/*": ["src/*"]
-    },
-    "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
-    "skipLibCheck": true
-  },
-  "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
-}
diff --git a/playground/typescript-jsx-router/vite.config.ts b/playground/typescript-jsx-router/vite.config.ts
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/typescript-jsx-with-tests/.gitignore b/playground/typescript-jsx-with-tests/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/typescript-jsx-with-tests/README.md b/playground/typescript-jsx-with-tests/README.md
deleted file mode 100644 (file)
index d6d8250..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-# typescript-jsx-with-tests
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Type Support for `.vue` Imports in TS
-
-Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates.
-
-However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette.
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Type-Check, Compile and Minify for Production
-
-```sh
-pnpm build
-```
-
-### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction)
-
-```sh
-pnpm test:unit # or `pnpm test:unit:ci` for headless testing
-```
-
-### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
-
-```sh
-pnpm build
-pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
-```
diff --git a/playground/typescript-jsx-with-tests/cypress.json b/playground/typescript-jsx-with-tests/cypress.json
deleted file mode 100644 (file)
index 3d37225..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "baseUrl": "http://localhost:5050",
-  "component": {
-    "componentFolder": "src",
-    "testFiles": "**/__tests__/*.spec.{js,ts,jsx,tsx}"
-  }
-}
diff --git a/playground/typescript-jsx-with-tests/cypress/fixtures/example.json b/playground/typescript-jsx-with-tests/cypress/fixtures/example.json
deleted file mode 100644 (file)
index 02e4254..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-  "name": "Using fixtures to represent data",
-  "email": "hello@cypress.io",
-  "body": "Fixtures are a great way to mock data for responses to routes"
-}
diff --git a/playground/typescript-jsx-with-tests/cypress/integration/example.spec.ts b/playground/typescript-jsx-with-tests/cypress/integration/example.spec.ts
deleted file mode 100644 (file)
index 7a8c909..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-// https://docs.cypress.io/api/introduction/api.html
-
-describe('My First Test', () => {
-  it('visits the app root url', () => {
-    cy.visit('/')
-    cy.contains('h1', 'You did it!')
-  })
-})
diff --git a/playground/typescript-jsx-with-tests/cypress/plugins/index.ts b/playground/typescript-jsx-with-tests/cypress/plugins/index.ts
deleted file mode 100644 (file)
index ad2e351..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/// <reference types="cypress" />
-// ***********************************************************
-// This example plugins/index.js can be used to load plugins
-//
-// You can change the location of this file or turn off loading
-// the plugins file with the 'pluginsFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/plugins-guide
-// ***********************************************************
-
-// This function is called when a project is opened or re-opened (e.g. due to
-// the project's config changing)
-
-const { startDevServer } = require('@cypress/vite-dev-server')
-
-/**
- * @type {Cypress.PluginConfig}
- */
-// eslint-disable-next-line no-unused-vars
-module.exports = (on, config) => {
-  // `on` is used to hook into various events Cypress emits
-  // `config` is the resolved Cypress config
-  on('dev-server:start', (options) => {
-    return startDevServer({ options })
-  })
-  return config
-}
diff --git a/playground/typescript-jsx-with-tests/cypress/support/commands.ts b/playground/typescript-jsx-with-tests/cypress/support/commands.ts
deleted file mode 100644 (file)
index 119ab03..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// ***********************************************
-// This example commands.js shows you how to
-// create various custom commands and overwrite
-// existing commands.
-//
-// For more comprehensive examples of custom
-// commands please read more here:
-// https://on.cypress.io/custom-commands
-// ***********************************************
-//
-//
-// -- This is a parent command --
-// Cypress.Commands.add('login', (email, password) => { ... })
-//
-//
-// -- This is a child command --
-// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
-//
-//
-// -- This is a dual command --
-// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
-//
-//
-// -- This will overwrite an existing command --
-// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
diff --git a/playground/typescript-jsx-with-tests/cypress/support/index.ts b/playground/typescript-jsx-with-tests/cypress/support/index.ts
deleted file mode 100644 (file)
index d68db96..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// ***********************************************************
-// This example support/index.js is processed and
-// loaded automatically before your test files.
-//
-// This is a great place to put global configuration and
-// behavior that modifies Cypress.
-//
-// You can change the location of this file or turn off
-// automatically serving support files with the
-// 'supportFile' configuration option.
-//
-// You can read more here:
-// https://on.cypress.io/configuration
-// ***********************************************************
-
-// Import commands.js using ES2015 syntax:
-import './commands'
-
-// Alternatively you can use CommonJS syntax:
-// require('./commands')
diff --git a/playground/typescript-jsx-with-tests/cypress/tsconfig.json b/playground/typescript-jsx-with-tests/cypress/tsconfig.json
deleted file mode 100644 (file)
index b5b2f97..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "compilerOptions": {
-    "target": "es5",
-    "lib": ["es5", "dom"],
-    "types": ["cypress"]
-  },
-  "include": ["./**/*"]
-}
diff --git a/playground/typescript-jsx-with-tests/env.d.ts b/playground/typescript-jsx-with-tests/env.d.ts
deleted file mode 100644 (file)
index 636d9c3..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/// <reference types="vite/client" />
-
-declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
-}
diff --git a/playground/typescript-jsx-with-tests/index.html b/playground/typescript-jsx-with-tests/index.html
deleted file mode 100644 (file)
index 11603f8..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.ts"></script>
-  </body>
-</html>
diff --git a/playground/typescript-jsx-with-tests/package.json b/playground/typescript-jsx-with-tests/package.json
deleted file mode 100644 (file)
index 7c397df..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-{
-  "name": "typescript-jsx-with-tests",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vue-tsc --noEmit && vite build",
-    "preview": "vite preview --port 5050",
-    "test:unit": "cypress open-ct",
-    "test:unit:ci": "cypress run-ct --quiet --reporter spec",
-    "test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'",
-    "typecheck": "vue-tsc --noEmit"
-  },
-  "dependencies": {
-    "vue": "^3.2.22"
-  },
-  "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
-    "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "cypress": "^8.7.0",
-    "start-server-and-test": "^1.14.0",
-    "typescript": "~4.4.4",
-    "vite": "^2.6.14",
-    "vue-tsc": "^0.29.6"
-  }
-}
diff --git a/playground/typescript-jsx-with-tests/public/favicon.ico b/playground/typescript-jsx-with-tests/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/typescript-jsx-with-tests/public/favicon.ico and /dev/null differ
diff --git a/playground/typescript-jsx-with-tests/src/App.vue b/playground/typescript-jsx-with-tests/src/App.vue
deleted file mode 100644 (file)
index d91eefc..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<script setup lang="ts">
-import HelloWorld from './components/HelloWorld.vue'
-import TheWelcome from './components/TheWelcome.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
-
-  <main>
-    <TheWelcome />
-  </main>
-</template>
-
-<style>
-@import './assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-with-tests/src/assets/base.css b/playground/typescript-jsx-with-tests/src/assets/base.css
deleted file mode 100644 (file)
index 5427a03..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dadarkrk-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/typescript-jsx-with-tests/src/assets/logo.svg b/playground/typescript-jsx-with-tests/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/typescript-jsx-with-tests/src/components/HelloWorld.vue b/playground/typescript-jsx-with-tests/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index 01118cd..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<script setup lang="ts">
-defineProps<{
-  msg: string
-}>()
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-with-tests/src/components/TheWelcome.vue b/playground/typescript-jsx-with-tests/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index b91a8ed..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup lang="ts">
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/typescript-jsx-with-tests/src/components/WelcomeItem.vue b/playground/typescript-jsx-with-tests/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx-with-tests/src/components/__tests__/HelloWorld.spec.ts b/playground/typescript-jsx-with-tests/src/components/__tests__/HelloWorld.spec.ts
deleted file mode 100644 (file)
index a69f3a9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-import { mount } from '@cypress/vue'
-import HelloWorld from '../HelloWorld.vue'
-
-describe('HelloWorld', () => {
-  it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-  })
-
-  it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
-    cy.get('h1').should('contain', 'Hello Cypress')
-  })
-})
diff --git a/playground/typescript-jsx-with-tests/src/components/icons/IconCommunity.vue b/playground/typescript-jsx-with-tests/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-with-tests/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx-with-tests/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-with-tests/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx-with-tests/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-with-tests/src/components/icons/IconSupport.vue b/playground/typescript-jsx-with-tests/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-with-tests/src/components/icons/IconTooling.vue b/playground/typescript-jsx-with-tests/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/typescript-jsx-with-tests/src/main.ts b/playground/typescript-jsx-with-tests/src/main.ts
deleted file mode 100644 (file)
index 01433bc..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-import { createApp } from 'vue'
-import App from './App.vue'
-
-createApp(App).mount('#app')
diff --git a/playground/typescript-jsx-with-tests/tsconfig.json b/playground/typescript-jsx-with-tests/tsconfig.json
deleted file mode 100644 (file)
index 8c70719..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-{
-  "compilerOptions": {
-    "baseUrl": "./",
-    "target": "esnext",
-    "useDefineForClassFields": true,
-    "module": "esnext",
-    "moduleResolution": "node",
-    "isolatedModules": true,
-    "strict": true,
-    "jsx": "preserve",
-    "sourceMap": true,
-    "resolveJsonModule": true,
-    "esModuleInterop": true,
-    "paths": {
-      "@/*": ["src/*"]
-    },
-    "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
-    "skipLibCheck": true
-  },
-  "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
-}
diff --git a/playground/typescript-jsx-with-tests/vite.config.ts b/playground/typescript-jsx-with-tests/vite.config.ts
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
diff --git a/playground/typescript-jsx/.gitignore b/playground/typescript-jsx/.gitignore
deleted file mode 100644 (file)
index 133da84..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-.DS_Store
-dist
-dist-ssr
-*.local
-
-/cypress/videos/
-/cypress/screenshots/
-
-# Editor directories and files
-.vscode
-!.vscode/extensions.json
-.idea
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/playground/typescript-jsx/README.md b/playground/typescript-jsx/README.md
deleted file mode 100644 (file)
index 0b75ead..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# typescript-jsx
-
-This template should help get you started developing with Vue 3 in Vite.
-
-## Recommended IDE Setup
-
-[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
-
-## Type Support for `.vue` Imports in TS
-
-Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates.
-
-However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette.
-
-## Customize configuration
-
-See [Vite Configuration Reference](https://vitejs.dev/config/).
-
-## Project Setup
-
-```sh
-pnpm install
-```
-
-### Compile and Hot-Reload for Development
-
-```sh
-pnpm dev
-```
-
-### Type-Check, Compile and Minify for Production
-
-```sh
-pnpm build
-```
diff --git a/playground/typescript-jsx/env.d.ts b/playground/typescript-jsx/env.d.ts
deleted file mode 100644 (file)
index 636d9c3..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/// <reference types="vite/client" />
-
-declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
-}
diff --git a/playground/typescript-jsx/index.html b/playground/typescript-jsx/index.html
deleted file mode 100644 (file)
index 11603f8..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <link rel="icon" href="/favicon.ico" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.ts"></script>
-  </body>
-</html>
diff --git a/playground/typescript-jsx/package.json b/playground/typescript-jsx/package.json
deleted file mode 100644 (file)
index 54f115c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-{
-  "name": "typescript-jsx",
-  "version": "0.0.0",
-  "scripts": {
-    "dev": "vite",
-    "build": "vue-tsc --noEmit && vite build",
-    "preview": "vite preview --port 5050",
-    "typecheck": "vue-tsc --noEmit"
-  },
-  "dependencies": {
-    "vue": "^3.2.22"
-  },
-  "devDependencies": {
-    "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
-    "@vitejs/plugin-vue-jsx": "^1.3.0",
-    "typescript": "~4.4.4",
-    "vite": "^2.6.14",
-    "vue-tsc": "^0.29.6"
-  }
-}
diff --git a/playground/typescript-jsx/public/favicon.ico b/playground/typescript-jsx/public/favicon.ico
deleted file mode 100644 (file)
index df36fcf..0000000
Binary files a/playground/typescript-jsx/public/favicon.ico and /dev/null differ
diff --git a/playground/typescript-jsx/src/App.vue b/playground/typescript-jsx/src/App.vue
deleted file mode 100644 (file)
index d91eefc..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-<script setup lang="ts">
-import HelloWorld from './components/HelloWorld.vue'
-import TheWelcome from './components/TheWelcome.vue'
-</script>
-
-<template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
-
-  <main>
-    <TheWelcome />
-  </main>
-</template>
-
-<style>
-@import './assets/base.css';
-
-#app {
-  max-width: 1280px;
-  margin: 0 auto;
-  padding: 2rem;
-
-  font-weight: normal;
-}
-
-header {
-  line-height: 1.5;
-}
-
-.logo {
-  display: block;
-  margin: 0 auto 2rem;
-}
-
-a,
-.green {
-  text-decoration: none;
-  color: hsla(160, 100%, 37%, 1);
-  transition: 0.4s;
-}
-
-@media (hover: hover) {
-  a:hover {
-    background-color: hsla(160, 100%, 37%, 0.2);
-  }
-}
-
-@media (min-width: 1024px) {
-  body {
-    display: flex;
-    place-items: center;
-  }
-
-  #app {
-    display: grid;
-    grid-template-columns: 1fr 1fr;
-    padding: 0 2rem;
-  }
-
-  header {
-    display: flex;
-    place-items: center;
-    padding-right: calc(var(--section-gap) / 2);
-  }
-
-  header .wrapper {
-    display: flex;
-    place-items: flex-start;
-    flex-wrap: wrap;
-  }
-
-  .logo {
-    margin: 0 2rem 0 0;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx/src/assets/base.css b/playground/typescript-jsx/src/assets/base.css
deleted file mode 100644 (file)
index 5427a03..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/* color palette from <https://github.com/vuejs/theme> */
-:root {
-  --vt-c-white: #ffffff;
-  --vt-c-white-soft: #f8f8f8;
-  --vt-c-white-mute: #f2f2f2;
-
-  --vt-c-black: #181818;
-  --vt-c-black-soft: #222222;
-  --vt-c-black-mute: #282828;
-
-  --vt-c-indigo: #2c3e50;
-
-  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
-  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
-  --vt-c-divider-dadarkrk-1: rgba(84, 84, 84, 0.65);
-  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
-
-  --vt-c-text-light-1: var(--vt-c-indigo);
-  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
-  --vt-c-text-dark-1: var(--vt-c-white);
-  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
-}
-
-/* semantic color variables for this project */
-:root {
-  --color-background: var(--vt-c-white);
-  --color-background-soft: var(--vt-c-white-soft);
-  --color-background-mute: var(--vt-c-white-mute);
-
-  --color-border: var(--vt-c-divider-light-2);
-  --color-border-hover: var(--vt-c-divider-light-1);
-
-  --color-heading: var(--vt-c-text-light-1);
-  --color-text: var(--vt-c-text-light-1);
-
-  --section-gap: 160px;
-}
-
-@media (prefers-color-scheme: dark) {
-  :root {
-    --color-background: var(--vt-c-black);
-    --color-background-soft: var(--vt-c-black-soft);
-    --color-background-mute: var(--vt-c-black-mute);
-
-    --color-border: var(--vt-c-divider-dark-2);
-    --color-border-hover: var(--vt-c-divider-dark-1);
-
-    --color-heading: var(--vt-c-text-dark-1);
-    --color-text: var(--vt-c-text-dark-2);
-  }
-}
-
-*,
-*::before,
-*::after {
-  box-sizing: border-box;
-  margin: 0;
-  position: relative;
-  font-weight: normal;
-}
-
-body {
-  min-height: 100vh;
-  color: var(--color-text);
-  background: var(--color-background);
-  transition: color 0.5s, background-color 0.5s;
-  line-height: 1.6;
-  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
-    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
-  font-size: 15px;
-  text-rendering: optimizeLegibility;
-  -webkit-font-smoothing: antialiased;
-  -moz-osx-font-smoothing: grayscale;
-}
diff --git a/playground/typescript-jsx/src/assets/logo.svg b/playground/typescript-jsx/src/assets/logo.svg
deleted file mode 100644 (file)
index bc826fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 261.76 226.69"  xmlns:v="https://vecta.io/nano"><path d="M161.096.001l-30.225 52.351L100.647.001H-.005l130.877 226.688L261.749.001z" fill="#41b883"/><path d="M161.096.001l-30.225 52.351L100.647.001H52.346l78.526 136.01L209.398.001z" fill="#34495e"/></svg>
\ No newline at end of file
diff --git a/playground/typescript-jsx/src/components/HelloWorld.vue b/playground/typescript-jsx/src/components/HelloWorld.vue
deleted file mode 100644 (file)
index 01118cd..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<script setup lang="ts">
-defineProps<{
-  msg: string
-}>()
-</script>
-
-<template>
-  <div class="greetings">
-    <h1 class="green">{{ msg }}</h1>
-    <h3>
-      You’ve successfully created a project with
-      <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
-    </h3>
-  </div>
-</template>
-
-<style scoped>
-h1 {
-  font-weight: 500;
-  font-size: 2.6rem;
-  top: -10px;
-}
-
-h3 {
-  font-size: 1.2rem;
-}
-
-.greetings h1,
-.greetings h3 {
-  text-align: center;
-}
-
-@media (min-width: 1024px) {
-  .greetings h1,
-  .greetings h3 {
-    display: block;
-    text-align: left;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx/src/components/TheWelcome.vue b/playground/typescript-jsx/src/components/TheWelcome.vue
deleted file mode 100644 (file)
index b91a8ed..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-<script setup lang="ts">
-import WelcomeItem from './WelcomeItem.vue'
-import DocumentationIcon from './icons/IconDocumentation.vue'
-import ToolingIcon from './icons/IconTooling.vue'
-import EcosystemIcon from './icons/IconEcosystem.vue'
-import CommunityIcon from './icons/IconCommunity.vue'
-import SupportIcon from './icons/IconSupport.vue'
-</script>
-
-<template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
-
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
-
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
-
-    <br />
-
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
-
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
-
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
-
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
-
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
-</template>
diff --git a/playground/typescript-jsx/src/components/WelcomeItem.vue b/playground/typescript-jsx/src/components/WelcomeItem.vue
deleted file mode 100644 (file)
index ba0def3..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
-  <div class="item">
-    <i>
-      <slot name="icon"></slot>
-    </i>
-    <div class="details">
-      <h3>
-        <slot name="heading"></slot>
-      </h3>
-      <slot></slot>
-    </div>
-  </div>
-</template>
-
-<style scoped>
-.item {
-  margin-top: 2rem;
-  display: flex;
-}
-
-.details {
-  flex: 1;
-  margin-left: 1rem;
-}
-
-i {
-  display: flex;
-  place-items: center;
-  place-content: center;
-  width: 32px;
-  height: 32px;
-
-  color: var(--color-text);
-}
-
-h3 {
-  font-size: 1.2rem;
-  font-weight: 500;
-  margin-bottom: 0.4rem;
-  color: var(--color-heading);
-}
-
-@media (min-width: 1024px) {
-  .item {
-    margin-top: 0;
-    padding: 0.4rem 0 1rem calc(var(--section-gap) / 2);
-  }
-
-  i {
-    top: calc(50% - 25px);
-    left: -26px;
-    position: absolute;
-    border: 1px solid var(--color-border);
-    background: var(--color-background);
-    border-radius: 8px;
-    width: 50px;
-    height: 50px;
-  }
-
-  .item:before {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    bottom: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:after {
-    content: ' ';
-    border-left: 1px solid var(--color-border);
-    position: absolute;
-    left: 0;
-    top: calc(50% + 25px);
-    height: calc(50% - 25px);
-  }
-
-  .item:first-of-type:before {
-    display: none;
-  }
-
-  .item:last-of-type:after {
-    display: none;
-  }
-}
-</style>
diff --git a/playground/typescript-jsx/src/components/icons/IconCommunity.vue b/playground/typescript-jsx/src/components/icons/IconCommunity.vue
deleted file mode 100644 (file)
index 2dc8b05..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx/src/components/icons/IconDocumentation.vue b/playground/typescript-jsx/src/components/icons/IconDocumentation.vue
deleted file mode 100644 (file)
index 6d4791c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" fill="currentColor">
-    <path
-      d="M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx/src/components/icons/IconEcosystem.vue b/playground/typescript-jsx/src/components/icons/IconEcosystem.vue
deleted file mode 100644 (file)
index c3a4f07..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" fill="currentColor">
-    <path
-      d="M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx/src/components/icons/IconSupport.vue b/playground/typescript-jsx/src/components/icons/IconSupport.vue
deleted file mode 100644 (file)
index 7452834..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<template>
-  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor">
-    <path
-      d="M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
-    />
-  </svg>
-</template>
diff --git a/playground/typescript-jsx/src/components/icons/IconTooling.vue b/playground/typescript-jsx/src/components/icons/IconTooling.vue
deleted file mode 100644 (file)
index 660598d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
-<template>
-  <svg
-    xmlns="http://www.w3.org/2000/svg"
-    xmlns:xlink="http://www.w3.org/1999/xlink"
-    aria-hidden="true"
-    role="img"
-    class="iconify iconify--mdi"
-    width="24"
-    height="24"
-    preserveAspectRatio="xMidYMid meet"
-    viewBox="0 0 24 24"
-  >
-    <path
-      d="M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
-      fill="currentColor"
-    ></path>
-  </svg>
-</template>
diff --git a/playground/typescript-jsx/src/main.ts b/playground/typescript-jsx/src/main.ts
deleted file mode 100644 (file)
index 01433bc..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-import { createApp } from 'vue'
-import App from './App.vue'
-
-createApp(App).mount('#app')
diff --git a/playground/typescript-jsx/tsconfig.json b/playground/typescript-jsx/tsconfig.json
deleted file mode 100644 (file)
index 8c70719..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-{
-  "compilerOptions": {
-    "baseUrl": "./",
-    "target": "esnext",
-    "useDefineForClassFields": true,
-    "module": "esnext",
-    "moduleResolution": "node",
-    "isolatedModules": true,
-    "strict": true,
-    "jsx": "preserve",
-    "sourceMap": true,
-    "resolveJsonModule": true,
-    "esModuleInterop": true,
-    "paths": {
-      "@/*": ["src/*"]
-    },
-    "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
-    "skipLibCheck": true
-  },
-  "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
-}
diff --git a/playground/typescript-jsx/vite.config.ts b/playground/typescript-jsx/vite.config.ts
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
index 636d9c3f6c6ac43150a1997e54cb29d877513912..dc50f12e8dcc3aea04b1305a4bf6c508e54fd9fe 100644 (file)
@@ -1,8 +1,16 @@
 /// <reference types="vite/client" />
 
 declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
+  import Vue from 'vue'
+  export default Vue
+}
+
+declare global {
+  namespace JSX {
+    interface Element extends VNode {}
+    interface ElementClass extends Vue {}
+    interface IntrinsicElements {
+      [elem: string]: any
+    }
+  }
 }
index 405f42e2e4f2ec9a84a63087aff1a3cf932f2105..8d08c4dbcc24a7a77fd35b8bc60657e191a7cced 100644 (file)
     "typecheck": "vue-tsc --noEmit"
   },
   "dependencies": {
+    "@vue/composition-api": "^1.4.0",
     "pinia": "^2.0.4",
-    "vue": "^3.2.22"
+    "vue": "^2.6.14"
   },
   "devDependencies": {
     "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
+    "@cypress/vue": "^2.2.4",
     "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
+    "@vue/runtime-dom": "^3.2.22",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
     "typescript": "~4.4.4",
+    "unplugin-vue2-script-setup": "^0.7.1",
     "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14",
     "vue-tsc": "^0.29.6"
   }
 }
index d91eefc43298580190dd4bd28b96ae9009c540e2..794bc4490d9638865ba47b24279655ba2fdf5615 100644 (file)
@@ -4,17 +4,19 @@ import TheWelcome from './components/TheWelcome.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
 
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+      </div>
+    </header>
 
-  <main>
-    <TheWelcome />
-  </main>
+    <main>
+      <TheWelcome />
+    </main>
+  </div>
 </template>
 
 <style>
index 01118cd9c4669ac6db8b6e6cdcf14e790a2df051..db400342b80b761f1ea499e12a3e7848152bdda0 100644 (file)
@@ -10,7 +10,7 @@ defineProps<{
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index b91a8eddc5a9803ddc4b7a4e9db4c1bf52c71478..447abca0267d6a734e331a42026c9cc51c3038d8 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index a69f3a9d69f15b4a2ecc1bf97617f00597ef2064..d6fb360b053b7de3b70e9fba6a11ff6c7db91a27 100644 (file)
@@ -3,11 +3,11 @@ import HelloWorld from '../HelloWorld.vue'
 
 describe('HelloWorld', () => {
   it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
   })
 
   it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
     cy.get('h1').should('contain', 'Hello Cypress')
   })
 })
index 5f77a8911f244df66962baf136f53475149b37f4..82926e979e13061f721ce5c65f3b3d166f913347 100644 (file)
@@ -1,9 +1,15 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+import { createPinia, PiniaVuePlugin } from 'pinia'
+
 import App from './App.vue'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
+Vue.use(PiniaVuePlugin)
 
-app.use(createPinia())
+const app = new Vue({
+  pinia: createPinia(),
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index 8c7071924e521e87d4c260773a63e1843793e2f9..211e5a0bac8fce504e14c19eea9e4d62f0822741 100644 (file)
@@ -17,5 +17,8 @@
     "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
     "skipLibCheck": true
   },
+  "vueCompilerOptions": {
+    "experimentalCompatMode": 2
+  },
   "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
 }
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index 636d9c3f6c6ac43150a1997e54cb29d877513912..dc50f12e8dcc3aea04b1305a4bf6c508e54fd9fe 100644 (file)
@@ -1,8 +1,16 @@
 /// <reference types="vite/client" />
 
 declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
+  import Vue from 'vue'
+  export default Vue
+}
+
+declare global {
+  namespace JSX {
+    interface Element extends VNode {}
+    interface ElementClass extends Vue {}
+    interface IntrinsicElements {
+      [elem: string]: any
+    }
+  }
 }
index 256e17514465eac205fd6407faca7f2ba66d7122..28f9a823f3739429c3799bfd7d4a6a13bc0d6bd4 100644 (file)
@@ -8,14 +8,18 @@
     "typecheck": "vue-tsc --noEmit"
   },
   "dependencies": {
+    "@vue/composition-api": "^1.4.0",
     "pinia": "^2.0.4",
-    "vue": "^3.2.22"
+    "vue": "^2.6.14"
   },
   "devDependencies": {
     "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
+    "@vue/runtime-dom": "^3.2.22",
     "typescript": "~4.4.4",
+    "unplugin-vue2-script-setup": "^0.7.1",
     "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14",
     "vue-tsc": "^0.29.6"
   }
 }
index d91eefc43298580190dd4bd28b96ae9009c540e2..794bc4490d9638865ba47b24279655ba2fdf5615 100644 (file)
@@ -4,17 +4,19 @@ import TheWelcome from './components/TheWelcome.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
 
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+      </div>
+    </header>
 
-  <main>
-    <TheWelcome />
-  </main>
+    <main>
+      <TheWelcome />
+    </main>
+  </div>
 </template>
 
 <style>
index 01118cd9c4669ac6db8b6e6cdcf14e790a2df051..db400342b80b761f1ea499e12a3e7848152bdda0 100644 (file)
@@ -10,7 +10,7 @@ defineProps<{
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index b91a8eddc5a9803ddc4b7a4e9db4c1bf52c71478..447abca0267d6a734e331a42026c9cc51c3038d8 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index 5f77a8911f244df66962baf136f53475149b37f4..82926e979e13061f721ce5c65f3b3d166f913347 100644 (file)
@@ -1,9 +1,15 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+import { createPinia, PiniaVuePlugin } from 'pinia'
+
 import App from './App.vue'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
+Vue.use(PiniaVuePlugin)
 
-app.use(createPinia())
+const app = new Vue({
+  pinia: createPinia(),
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index 8c7071924e521e87d4c260773a63e1843793e2f9..211e5a0bac8fce504e14c19eea9e4d62f0822741 100644 (file)
@@ -17,5 +17,8 @@
     "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
     "skipLibCheck": true
   },
+  "vueCompilerOptions": {
+    "experimentalCompatMode": 2
+  },
   "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
 }
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index 636d9c3f6c6ac43150a1997e54cb29d877513912..dc50f12e8dcc3aea04b1305a4bf6c508e54fd9fe 100644 (file)
@@ -1,8 +1,16 @@
 /// <reference types="vite/client" />
 
 declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
+  import Vue from 'vue'
+  export default Vue
+}
+
+declare global {
+  namespace JSX {
+    interface Element extends VNode {}
+    interface ElementClass extends Vue {}
+    interface IntrinsicElements {
+      [elem: string]: any
+    }
+  }
 }
index 45296aebd593f9490a0dd00593c02b097cf9ea93..a02361da4983eca8315e2a6ba6d6f2cc69e4f06c 100644 (file)
     "typecheck": "vue-tsc --noEmit"
   },
   "dependencies": {
+    "@vue/composition-api": "^1.4.0",
     "pinia": "^2.0.4",
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
+    "vue": "^2.6.14",
+    "vue-router": "^3.5.3"
   },
   "devDependencies": {
     "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
+    "@cypress/vue": "^2.2.4",
     "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
+    "@vue/runtime-dom": "^3.2.22",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
     "typescript": "~4.4.4",
+    "unplugin-vue2-script-setup": "^0.7.1",
     "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14",
     "vue-tsc": "^0.29.6"
   }
 }
index 8a1e9b196ed79b4cb5e69eb4ef7f54fa049683dc..1a9747c3ade2efd2dfe6021689c858d72ee7f036 100644 (file)
@@ -3,20 +3,22 @@ import HelloWorld from '@/components/HelloWorld.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
+
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+
+        <nav>
+          <router-link to="/">Home</router-link>
+          <router-link to="/about">About</router-link>
+        </nav>
+      </div>
+    </header>
+
+    <router-view />
+  </div>
 </template>
 
 <style>
index 987adb9fb13c98fc14f55401be619b9ace61eeab..c1d1964af0522945556d5cab11d3566e0a33e134 100644 (file)
@@ -10,7 +10,7 @@ defineProps<{
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>. What's next?
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>. What's next?
     </h3>
   </div>
 </template>
index b91a8eddc5a9803ddc4b7a4e9db4c1bf52c71478..447abca0267d6a734e331a42026c9cc51c3038d8 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index a69f3a9d69f15b4a2ecc1bf97617f00597ef2064..d6fb360b053b7de3b70e9fba6a11ff6c7db91a27 100644 (file)
@@ -3,11 +3,11 @@ import HelloWorld from '../HelloWorld.vue'
 
 describe('HelloWorld', () => {
   it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
   })
 
   it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
     cy.get('h1').should('contain', 'Hello Cypress')
   })
 })
index fda1e6e3e6dc4f11e7f23d3e187d4d541276940f..bbcfd4ffd15196ee3b5ce8eb5a11a0673ca346d1 100644 (file)
@@ -1,12 +1,17 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+import { createPinia, PiniaVuePlugin } from 'pinia'
 
 import App from './App.vue'
 import router from './router'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
+Vue.use(PiniaVuePlugin)
 
-app.use(createPinia())
-app.use(router)
+const app = new Vue({
+  router,
+  pinia: createPinia(),
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index a49ae507f39bdb792025d7c4bd1573b876e8cc96..cf9820b0fd0ce9ac3426338b921d8807c57187c8 100644 (file)
@@ -1,8 +1,12 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import Vue from 'vue'
+import VueRouter from 'vue-router'
 import HomeView from '../views/HomeView.vue'
 
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+Vue.use(VueRouter)
+
+const router = new VueRouter({
+  mode: 'history',
+  base: import.meta.env.BASE_URL,
   routes: [
     {
       path: '/',
index 8c7071924e521e87d4c260773a63e1843793e2f9..211e5a0bac8fce504e14c19eea9e4d62f0822741 100644 (file)
@@ -17,5 +17,8 @@
     "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
     "skipLibCheck": true
   },
+  "vueCompilerOptions": {
+    "experimentalCompatMode": 2
+  },
   "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
 }
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index 636d9c3f6c6ac43150a1997e54cb29d877513912..dc50f12e8dcc3aea04b1305a4bf6c508e54fd9fe 100644 (file)
@@ -1,8 +1,16 @@
 /// <reference types="vite/client" />
 
 declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
+  import Vue from 'vue'
+  export default Vue
+}
+
+declare global {
+  namespace JSX {
+    interface Element extends VNode {}
+    interface ElementClass extends Vue {}
+    interface IntrinsicElements {
+      [elem: string]: any
+    }
+  }
 }
index 666f92e0c3812fdb16e6df17de5031b89698429e..4ba80a6eeda4e6c4222fcf30177d35b6d6193f95 100644 (file)
@@ -8,15 +8,19 @@
     "typecheck": "vue-tsc --noEmit"
   },
   "dependencies": {
+    "@vue/composition-api": "^1.4.0",
     "pinia": "^2.0.4",
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
+    "vue": "^2.6.14",
+    "vue-router": "^3.5.3"
   },
   "devDependencies": {
     "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
+    "@vue/runtime-dom": "^3.2.22",
     "typescript": "~4.4.4",
+    "unplugin-vue2-script-setup": "^0.7.1",
     "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14",
     "vue-tsc": "^0.29.6"
   }
 }
index 8a1e9b196ed79b4cb5e69eb4ef7f54fa049683dc..1a9747c3ade2efd2dfe6021689c858d72ee7f036 100644 (file)
@@ -3,20 +3,22 @@ import HelloWorld from '@/components/HelloWorld.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
+
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+
+        <nav>
+          <router-link to="/">Home</router-link>
+          <router-link to="/about">About</router-link>
+        </nav>
+      </div>
+    </header>
+
+    <router-view />
+  </div>
 </template>
 
 <style>
index 987adb9fb13c98fc14f55401be619b9ace61eeab..c1d1964af0522945556d5cab11d3566e0a33e134 100644 (file)
@@ -10,7 +10,7 @@ defineProps<{
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>. What's next?
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>. What's next?
     </h3>
   </div>
 </template>
index b91a8eddc5a9803ddc4b7a4e9db4c1bf52c71478..447abca0267d6a734e331a42026c9cc51c3038d8 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index fda1e6e3e6dc4f11e7f23d3e187d4d541276940f..bbcfd4ffd15196ee3b5ce8eb5a11a0673ca346d1 100644 (file)
@@ -1,12 +1,17 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+import { createPinia, PiniaVuePlugin } from 'pinia'
 
 import App from './App.vue'
 import router from './router'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
+Vue.use(PiniaVuePlugin)
 
-app.use(createPinia())
-app.use(router)
+const app = new Vue({
+  router,
+  pinia: createPinia(),
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index a49ae507f39bdb792025d7c4bd1573b876e8cc96..cf9820b0fd0ce9ac3426338b921d8807c57187c8 100644 (file)
@@ -1,8 +1,12 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import Vue from 'vue'
+import VueRouter from 'vue-router'
 import HomeView from '../views/HomeView.vue'
 
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+Vue.use(VueRouter)
+
+const router = new VueRouter({
+  mode: 'history',
+  base: import.meta.env.BASE_URL,
   routes: [
     {
       path: '/',
index 8c7071924e521e87d4c260773a63e1843793e2f9..211e5a0bac8fce504e14c19eea9e4d62f0822741 100644 (file)
@@ -17,5 +17,8 @@
     "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
     "skipLibCheck": true
   },
+  "vueCompilerOptions": {
+    "experimentalCompatMode": 2
+  },
   "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
 }
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index 636d9c3f6c6ac43150a1997e54cb29d877513912..dc50f12e8dcc3aea04b1305a4bf6c508e54fd9fe 100644 (file)
@@ -1,8 +1,16 @@
 /// <reference types="vite/client" />
 
 declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
+  import Vue from 'vue'
+  export default Vue
+}
+
+declare global {
+  namespace JSX {
+    interface Element extends VNode {}
+    interface ElementClass extends Vue {}
+    interface IntrinsicElements {
+      [elem: string]: any
+    }
+  }
 }
index a310df69b051e94fbfc98e004a6037e76ed6a37d..3ab64a99f693c52cca9560e702df3c573c3b3d7d 100644 (file)
     "typecheck": "vue-tsc --noEmit"
   },
   "dependencies": {
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
+    "@vue/composition-api": "^1.4.0",
+    "vue": "^2.6.14",
+    "vue-router": "^3.5.3"
   },
   "devDependencies": {
     "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
+    "@cypress/vue": "^2.2.4",
     "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
+    "@vue/runtime-dom": "^3.2.22",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
     "typescript": "~4.4.4",
+    "unplugin-vue2-script-setup": "^0.7.1",
     "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14",
     "vue-tsc": "^0.29.6"
   }
 }
index 8a1e9b196ed79b4cb5e69eb4ef7f54fa049683dc..1a9747c3ade2efd2dfe6021689c858d72ee7f036 100644 (file)
@@ -3,20 +3,22 @@ import HelloWorld from '@/components/HelloWorld.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
+
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+
+        <nav>
+          <router-link to="/">Home</router-link>
+          <router-link to="/about">About</router-link>
+        </nav>
+      </div>
+    </header>
+
+    <router-view />
+  </div>
 </template>
 
 <style>
index 987adb9fb13c98fc14f55401be619b9ace61eeab..c1d1964af0522945556d5cab11d3566e0a33e134 100644 (file)
@@ -10,7 +10,7 @@ defineProps<{
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>. What's next?
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>. What's next?
     </h3>
   </div>
 </template>
index b91a8eddc5a9803ddc4b7a4e9db4c1bf52c71478..447abca0267d6a734e331a42026c9cc51c3038d8 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index a69f3a9d69f15b4a2ecc1bf97617f00597ef2064..d6fb360b053b7de3b70e9fba6a11ff6c7db91a27 100644 (file)
@@ -3,11 +3,11 @@ import HelloWorld from '../HelloWorld.vue'
 
 describe('HelloWorld', () => {
   it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
   })
 
   it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
     cy.get('h1').should('contain', 'Hello Cypress')
   })
 })
index c8e37b03b9c2289ea08f80feeca1880e2abc3a86..cc1d0fb797765afa49efc38776876ff9162150f4 100644 (file)
@@ -1,9 +1,14 @@
-import { createApp } from 'vue'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+
 import App from './App.vue'
 import router from './router'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
 
-app.use(router)
+const app = new Vue({
+  router,
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index a49ae507f39bdb792025d7c4bd1573b876e8cc96..cf9820b0fd0ce9ac3426338b921d8807c57187c8 100644 (file)
@@ -1,8 +1,12 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import Vue from 'vue'
+import VueRouter from 'vue-router'
 import HomeView from '../views/HomeView.vue'
 
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+Vue.use(VueRouter)
+
+const router = new VueRouter({
+  mode: 'history',
+  base: import.meta.env.BASE_URL,
   routes: [
     {
       path: '/',
index 8c7071924e521e87d4c260773a63e1843793e2f9..211e5a0bac8fce504e14c19eea9e4d62f0822741 100644 (file)
@@ -17,5 +17,8 @@
     "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
     "skipLibCheck": true
   },
+  "vueCompilerOptions": {
+    "experimentalCompatMode": 2
+  },
   "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
 }
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index 636d9c3f6c6ac43150a1997e54cb29d877513912..dc50f12e8dcc3aea04b1305a4bf6c508e54fd9fe 100644 (file)
@@ -1,8 +1,16 @@
 /// <reference types="vite/client" />
 
 declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
+  import Vue from 'vue'
+  export default Vue
+}
+
+declare global {
+  namespace JSX {
+    interface Element extends VNode {}
+    interface ElementClass extends Vue {}
+    interface IntrinsicElements {
+      [elem: string]: any
+    }
+  }
 }
index 5d5ea1614f431f5b07722f1d70b25d54d4a85acd..55af8c2fe87d84d623f9cc46bcd2a91eb3a6f87a 100644 (file)
@@ -8,14 +8,18 @@
     "typecheck": "vue-tsc --noEmit"
   },
   "dependencies": {
-    "vue": "^3.2.22",
-    "vue-router": "^4.0.12"
+    "@vue/composition-api": "^1.4.0",
+    "vue": "^2.6.14",
+    "vue-router": "^3.5.3"
   },
   "devDependencies": {
     "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
+    "@vue/runtime-dom": "^3.2.22",
     "typescript": "~4.4.4",
+    "unplugin-vue2-script-setup": "^0.7.1",
     "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14",
     "vue-tsc": "^0.29.6"
   }
 }
index 8a1e9b196ed79b4cb5e69eb4ef7f54fa049683dc..1a9747c3ade2efd2dfe6021689c858d72ee7f036 100644 (file)
@@ -3,20 +3,22 @@ import HelloWorld from '@/components/HelloWorld.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
+
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+
+        <nav>
+          <router-link to="/">Home</router-link>
+          <router-link to="/about">About</router-link>
+        </nav>
+      </div>
+    </header>
+
+    <router-view />
+  </div>
 </template>
 
 <style>
index 987adb9fb13c98fc14f55401be619b9ace61eeab..c1d1964af0522945556d5cab11d3566e0a33e134 100644 (file)
@@ -10,7 +10,7 @@ defineProps<{
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>. What's next?
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>. What's next?
     </h3>
   </div>
 </template>
index b91a8eddc5a9803ddc4b7a4e9db4c1bf52c71478..447abca0267d6a734e331a42026c9cc51c3038d8 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index c8e37b03b9c2289ea08f80feeca1880e2abc3a86..cc1d0fb797765afa49efc38776876ff9162150f4 100644 (file)
@@ -1,9 +1,14 @@
-import { createApp } from 'vue'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+
 import App from './App.vue'
 import router from './router'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
 
-app.use(router)
+const app = new Vue({
+  router,
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index a49ae507f39bdb792025d7c4bd1573b876e8cc96..cf9820b0fd0ce9ac3426338b921d8807c57187c8 100644 (file)
@@ -1,8 +1,12 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import Vue from 'vue'
+import VueRouter from 'vue-router'
 import HomeView from '../views/HomeView.vue'
 
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+Vue.use(VueRouter)
+
+const router = new VueRouter({
+  mode: 'history',
+  base: import.meta.env.BASE_URL,
   routes: [
     {
       path: '/',
index 8c7071924e521e87d4c260773a63e1843793e2f9..211e5a0bac8fce504e14c19eea9e4d62f0822741 100644 (file)
@@ -17,5 +17,8 @@
     "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
     "skipLibCheck": true
   },
+  "vueCompilerOptions": {
+    "experimentalCompatMode": 2
+  },
   "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
 }
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index 636d9c3f6c6ac43150a1997e54cb29d877513912..dc50f12e8dcc3aea04b1305a4bf6c508e54fd9fe 100644 (file)
@@ -1,8 +1,16 @@
 /// <reference types="vite/client" />
 
 declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
+  import Vue from 'vue'
+  export default Vue
+}
+
+declare global {
+  namespace JSX {
+    interface Element extends VNode {}
+    interface ElementClass extends Vue {}
+    interface IntrinsicElements {
+      [elem: string]: any
+    }
+  }
 }
index e9d23e6734ff1fd091d4934aa43ed96e4112e440..6746953d680b54ff35f3b822d6f85e81fc33f08d 100644 (file)
     "typecheck": "vue-tsc --noEmit"
   },
   "dependencies": {
-    "vue": "^3.2.22"
+    "@vue/composition-api": "^1.4.0",
+    "vue": "^2.6.14"
   },
   "devDependencies": {
     "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
+    "@cypress/vue": "^2.2.4",
     "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
+    "@vue/runtime-dom": "^3.2.22",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
     "typescript": "~4.4.4",
+    "unplugin-vue2-script-setup": "^0.7.1",
     "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14",
     "vue-tsc": "^0.29.6"
   }
 }
index d91eefc43298580190dd4bd28b96ae9009c540e2..794bc4490d9638865ba47b24279655ba2fdf5615 100644 (file)
@@ -4,17 +4,19 @@ import TheWelcome from './components/TheWelcome.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
 
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+      </div>
+    </header>
 
-  <main>
-    <TheWelcome />
-  </main>
+    <main>
+      <TheWelcome />
+    </main>
+  </div>
 </template>
 
 <style>
index 01118cd9c4669ac6db8b6e6cdcf14e790a2df051..db400342b80b761f1ea499e12a3e7848152bdda0 100644 (file)
@@ -10,7 +10,7 @@ defineProps<{
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index b91a8eddc5a9803ddc4b7a4e9db4c1bf52c71478..447abca0267d6a734e331a42026c9cc51c3038d8 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index a69f3a9d69f15b4a2ecc1bf97617f00597ef2064..d6fb360b053b7de3b70e9fba6a11ff6c7db91a27 100644 (file)
@@ -3,11 +3,11 @@ import HelloWorld from '../HelloWorld.vue'
 
 describe('HelloWorld', () => {
   it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
   })
 
   it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
     cy.get('h1').should('contain', 'Hello Cypress')
   })
 })
index 01433bca2ac76590c48fabfee8d69d7b223f48bb..437d7358011b2fed73c87fd0f64018754ed96190 100644 (file)
@@ -1,4 +1,12 @@
-import { createApp } from 'vue'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+
 import App from './App.vue'
 
-createApp(App).mount('#app')
+Vue.use(VueCompositionAPI)
+
+const app = new Vue({
+  render: (h) => h(App)
+})
+
+app.$mount('#app')
index 8c7071924e521e87d4c260773a63e1843793e2f9..211e5a0bac8fce504e14c19eea9e4d62f0822741 100644 (file)
@@ -17,5 +17,8 @@
     "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
     "skipLibCheck": true
   },
+  "vueCompilerOptions": {
+    "experimentalCompatMode": 2
+  },
   "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
 }
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index 636d9c3f6c6ac43150a1997e54cb29d877513912..dc50f12e8dcc3aea04b1305a4bf6c508e54fd9fe 100644 (file)
@@ -1,8 +1,16 @@
 /// <reference types="vite/client" />
 
 declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
+  import Vue from 'vue'
+  export default Vue
+}
+
+declare global {
+  namespace JSX {
+    interface Element extends VNode {}
+    interface ElementClass extends Vue {}
+    interface IntrinsicElements {
+      [elem: string]: any
+    }
+  }
 }
index f70d3e791e613758eb6fe1914c42ea886cfaf4c3..40ee588cc3d6c5d19ac01c8431355c70c77c0d7a 100644 (file)
@@ -8,13 +8,17 @@
     "typecheck": "vue-tsc --noEmit"
   },
   "dependencies": {
-    "vue": "^3.2.22"
+    "@vue/composition-api": "^1.4.0",
+    "vue": "^2.6.14"
   },
   "devDependencies": {
     "@types/node": "^16.11.10",
-    "@vitejs/plugin-vue": "^1.10.0",
+    "@vue/runtime-dom": "^3.2.22",
     "typescript": "~4.4.4",
+    "unplugin-vue2-script-setup": "^0.7.1",
     "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14",
     "vue-tsc": "^0.29.6"
   }
 }
index d91eefc43298580190dd4bd28b96ae9009c540e2..794bc4490d9638865ba47b24279655ba2fdf5615 100644 (file)
@@ -4,17 +4,19 @@ import TheWelcome from './components/TheWelcome.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
 
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+      </div>
+    </header>
 
-  <main>
-    <TheWelcome />
-  </main>
+    <main>
+      <TheWelcome />
+    </main>
+  </div>
 </template>
 
 <style>
index 01118cd9c4669ac6db8b6e6cdcf14e790a2df051..db400342b80b761f1ea499e12a3e7848152bdda0 100644 (file)
@@ -10,7 +10,7 @@ defineProps<{
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index b91a8eddc5a9803ddc4b7a4e9db4c1bf52c71478..447abca0267d6a734e331a42026c9cc51c3038d8 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index 01433bca2ac76590c48fabfee8d69d7b223f48bb..437d7358011b2fed73c87fd0f64018754ed96190 100644 (file)
@@ -1,4 +1,12 @@
-import { createApp } from 'vue'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+
 import App from './App.vue'
 
-createApp(App).mount('#app')
+Vue.use(VueCompositionAPI)
+
+const app = new Vue({
+  render: (h) => h(App)
+})
+
+app.$mount('#app')
index 8c7071924e521e87d4c260773a63e1843793e2f9..211e5a0bac8fce504e14c19eea9e4d62f0822741 100644 (file)
@@ -17,5 +17,8 @@
     "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
     "skipLibCheck": true
   },
+  "vueCompilerOptions": {
+    "experimentalCompatMode": 2
+  },
   "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
 }
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index 4c32f83ab6eabfb74c241c9ee369469c5e37dbca..e794d61d9bd305d4b114f2c8645672a5052cbe83 100644 (file)
     "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress run'"
   },
   "dependencies": {
-    "vue": "^3.2.22"
+    "@vue/composition-api": "^1.4.0",
+    "vue": "^2.6.14"
   },
   "devDependencies": {
     "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.10.0",
+    "@cypress/vue": "^2.2.4",
+    "@vue/runtime-dom": "^3.2.22",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
-    "vite": "^2.6.14"
+    "unplugin-vue2-script-setup": "^0.7.1",
+    "vite": "^2.6.14",
+    "vite-plugin-vue2": "^1.9.0",
+    "vue-template-compiler": "^2.6.14"
   }
 }
index b0b6901bf5d8bd252c01b735605f50569c258095..099c613b1ea07f5a3a97471c114c43e7b0a99904 100644 (file)
@@ -4,17 +4,19 @@ import TheWelcome from './components/TheWelcome.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
 
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+      </div>
+    </header>
 
-  <main>
-    <TheWelcome />
-  </main>
+    <main>
+      <TheWelcome />
+    </main>
+  </div>
 </template>
 
 <style>
index aa16fa1fb036bc5423c56f4fe214ac458a2f8661..246beb3466e8f9822e679fedc6dd6008de63a123 100644 (file)
@@ -13,7 +13,7 @@ defineProps({
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index 1d003f8669af790635e6c7254c4c4469fff1f02a..d63a553b9e2c71038b4013797bd97b4bc40466ca 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index a69f3a9d69f15b4a2ecc1bf97617f00597ef2064..d6fb360b053b7de3b70e9fba6a11ff6c7db91a27 100644 (file)
@@ -3,11 +3,11 @@ import HelloWorld from '../HelloWorld.vue'
 
 describe('HelloWorld', () => {
   it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
   })
 
   it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
     cy.get('h1').should('contain', 'Hello Cypress')
   })
 })
index 01433bca2ac76590c48fabfee8d69d7b223f48bb..437d7358011b2fed73c87fd0f64018754ed96190 100644 (file)
@@ -1,4 +1,12 @@
-import { createApp } from 'vue'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+
 import App from './App.vue'
 
-createApp(App).mount('#app')
+Vue.use(VueCompositionAPI)
+
+const app = new Vue({
+  render: (h) => h(App)
+})
+
+app.$mount('#app')
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index 6deb4a83bb00a09daec9e774b2cd2fa30b064fa2..94064cd6baeb4733d859d56b871435cf6e34d0e5 100644 (file)
@@ -24,678 +24,460 @@ importers:
 
   playground/default:
     specifiers:
-      '@vitejs/plugin-vue': ^1.10.0
-      vite: ^2.6.14
-      vue: ^3.2.22
-    dependencies:
-      vue: 3.2.23
-    devDependencies:
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      vite: 2.6.14
-
-  playground/jsx:
-    specifiers:
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      vite: ^2.6.14
-      vue: ^3.2.22
-    dependencies:
-      vue: 3.2.23
-    devDependencies:
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      vite: 2.6.14
-
-  playground/jsx-pinia:
-    specifiers:
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      pinia: ^2.0.4
-      vite: ^2.6.14
-      vue: ^3.2.22
-    dependencies:
-      pinia: 2.0.4_vue@3.2.23
-      vue: 3.2.23
-    devDependencies:
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      vite: 2.6.14
-
-  playground/jsx-pinia-with-tests:
-    specifiers:
-      '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      cypress: ^8.7.0
-      pinia: ^2.0.4
-      start-server-and-test: ^1.14.0
-      vite: ^2.6.14
-      vue: ^3.2.22
-    dependencies:
-      pinia: 2.0.4_vue@3.2.23
-      vue: 3.2.23
-    devDependencies:
-      '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      cypress: 8.7.0
-      start-server-and-test: 1.14.0
-      vite: 2.6.14
-
-  playground/jsx-router:
-    specifiers:
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
-    dependencies:
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
-    devDependencies:
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      vite: 2.6.14
-
-  playground/jsx-router-pinia:
-    specifiers:
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      pinia: ^2.0.4
-      vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
-    dependencies:
-      pinia: 2.0.4_vue@3.2.23
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
-    devDependencies:
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      vite: 2.6.14
-
-  playground/jsx-router-pinia-with-tests:
-    specifiers:
-      '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      cypress: ^8.7.0
-      pinia: ^2.0.4
-      start-server-and-test: ^1.14.0
-      vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
-    dependencies:
-      pinia: 2.0.4_vue@3.2.23
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
-    devDependencies:
-      '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      cypress: 8.7.0
-      start-server-and-test: 1.14.0
-      vite: 2.6.14
-
-  playground/jsx-router-with-tests:
-    specifiers:
-      '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      cypress: ^8.7.0
-      start-server-and-test: ^1.14.0
-      vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
-    dependencies:
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
-    devDependencies:
-      '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      cypress: 8.7.0
-      start-server-and-test: 1.14.0
-      vite: 2.6.14
-
-  playground/jsx-with-tests:
-    specifiers:
-      '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      cypress: ^8.7.0
-      start-server-and-test: ^1.14.0
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-template-compiler: ^2.6.14
     dependencies:
-      vue: 3.2.23
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      vue: 2.6.14
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      cypress: 8.7.0
-      start-server-and-test: 1.14.0
+      '@vue/runtime-dom': 3.2.23
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
 
   playground/pinia:
     specifiers:
-      '@vitejs/plugin-vue': ^1.10.0
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       pinia: ^2.0.4
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-template-compiler: ^2.6.14
     dependencies:
-      pinia: 2.0.4_vue@3.2.23
-      vue: 3.2.23
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      pinia: 2.0.4_5f1bd7414a2bfaaedeb8e06aba7234f1
+      vue: 2.6.14
     devDependencies:
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@vue/runtime-dom': 3.2.23
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
 
   playground/pinia-with-tests:
     specifiers:
       '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
-      '@vitejs/plugin-vue': ^1.10.0
+      '@cypress/vue': ^2.2.4
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       cypress: ^8.7.0
       pinia: ^2.0.4
       start-server-and-test: ^1.14.0
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-template-compiler: ^2.6.14
     dependencies:
-      pinia: 2.0.4_vue@3.2.23
-      vue: 3.2.23
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      pinia: 2.0.4_5f1bd7414a2bfaaedeb8e06aba7234f1
+      vue: 2.6.14
     devDependencies:
       '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@cypress/vue': 2.2.4_e1d60e678c7b9d4654c8db95df3b5b13
+      '@vue/runtime-dom': 3.2.23
       cypress: 8.7.0
       start-server-and-test: 1.14.0
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
 
   playground/router:
     specifiers:
-      '@vitejs/plugin-vue': ^1.10.0
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
-    dependencies:
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-router: ^3.5.3
+      vue-template-compiler: ^2.6.14
+    dependencies:
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      vue: 2.6.14
+      vue-router: 3.5.3
     devDependencies:
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@vue/runtime-dom': 3.2.23
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
 
   playground/router-pinia:
     specifiers:
-      '@vitejs/plugin-vue': ^1.10.0
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       pinia: ^2.0.4
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
-    dependencies:
-      pinia: 2.0.4_vue@3.2.23
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-router: ^3.5.3
+      vue-template-compiler: ^2.6.14
+    dependencies:
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      pinia: 2.0.4_5f1bd7414a2bfaaedeb8e06aba7234f1
+      vue: 2.6.14
+      vue-router: 3.5.3
     devDependencies:
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@vue/runtime-dom': 3.2.23
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
 
   playground/router-pinia-with-tests:
     specifiers:
       '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
-      '@vitejs/plugin-vue': ^1.10.0
+      '@cypress/vue': ^2.2.4
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       cypress: ^8.7.0
       pinia: ^2.0.4
       start-server-and-test: ^1.14.0
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
-    dependencies:
-      pinia: 2.0.4_vue@3.2.23
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-router: ^3.5.3
+      vue-template-compiler: ^2.6.14
+    dependencies:
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      pinia: 2.0.4_5f1bd7414a2bfaaedeb8e06aba7234f1
+      vue: 2.6.14
+      vue-router: 3.5.3
     devDependencies:
       '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@cypress/vue': 2.2.4_e1d60e678c7b9d4654c8db95df3b5b13
+      '@vue/runtime-dom': 3.2.23
       cypress: 8.7.0
       start-server-and-test: 1.14.0
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
 
   playground/router-with-tests:
     specifiers:
       '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
-      '@vitejs/plugin-vue': ^1.10.0
+      '@cypress/vue': ^2.2.4
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       cypress: ^8.7.0
       start-server-and-test: ^1.14.0
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
-    dependencies:
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-router: ^3.5.3
+      vue-template-compiler: ^2.6.14
+    dependencies:
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      vue: 2.6.14
+      vue-router: 3.5.3
     devDependencies:
       '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@cypress/vue': 2.2.4_e1d60e678c7b9d4654c8db95df3b5b13
+      '@vue/runtime-dom': 3.2.23
       cypress: 8.7.0
       start-server-and-test: 1.14.0
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
 
   playground/typescript:
     specifiers:
       '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
-      typescript: ~4.4.4
-      vite: ^2.6.14
-      vue: ^3.2.22
-      vue-tsc: ^0.29.6
-    dependencies:
-      vue: 3.2.23
-    devDependencies:
-      '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      typescript: 4.4.4
-      vite: 2.6.14
-      vue-tsc: 0.29.7_typescript@4.4.4
-
-  playground/typescript-jsx:
-    specifiers:
-      '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      typescript: ~4.4.4
-      vite: ^2.6.14
-      vue: ^3.2.22
-      vue-tsc: ^0.29.6
-    dependencies:
-      vue: 3.2.23
-    devDependencies:
-      '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      typescript: 4.4.4
-      vite: 2.6.14
-      vue-tsc: 0.29.7_typescript@4.4.4
-
-  playground/typescript-jsx-pinia:
-    specifiers:
-      '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      pinia: ^2.0.4
-      typescript: ~4.4.4
-      vite: ^2.6.14
-      vue: ^3.2.22
-      vue-tsc: ^0.29.6
-    dependencies:
-      pinia: 2.0.4_typescript@4.4.4+vue@3.2.23
-      vue: 3.2.23
-    devDependencies:
-      '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      typescript: 4.4.4
-      vite: 2.6.14
-      vue-tsc: 0.29.7_typescript@4.4.4
-
-  playground/typescript-jsx-pinia-with-tests:
-    specifiers:
-      '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
-      '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      cypress: ^8.7.0
-      pinia: ^2.0.4
-      start-server-and-test: ^1.14.0
-      typescript: ~4.4.4
-      vite: ^2.6.14
-      vue: ^3.2.22
-      vue-tsc: ^0.29.6
-    dependencies:
-      pinia: 2.0.4_typescript@4.4.4+vue@3.2.23
-      vue: 3.2.23
-    devDependencies:
-      '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
-      '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      cypress: 8.7.0
-      start-server-and-test: 1.14.0
-      typescript: 4.4.4
-      vite: 2.6.14
-      vue-tsc: 0.29.7_typescript@4.4.4
-
-  playground/typescript-jsx-router:
-    specifiers:
-      '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      typescript: ~4.4.4
-      vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
-      vue-tsc: ^0.29.6
-    dependencies:
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
-    devDependencies:
-      '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      typescript: 4.4.4
-      vite: 2.6.14
-      vue-tsc: 0.29.7_typescript@4.4.4
-
-  playground/typescript-jsx-router-pinia:
-    specifiers:
-      '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      pinia: ^2.0.4
-      typescript: ~4.4.4
-      vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
-      vue-tsc: ^0.29.6
-    dependencies:
-      pinia: 2.0.4_typescript@4.4.4+vue@3.2.23
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
-    devDependencies:
-      '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      typescript: 4.4.4
-      vite: 2.6.14
-      vue-tsc: 0.29.7_typescript@4.4.4
-
-  playground/typescript-jsx-router-pinia-with-tests:
-    specifiers:
-      '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
-      '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      cypress: ^8.7.0
-      pinia: ^2.0.4
-      start-server-and-test: ^1.14.0
-      typescript: ~4.4.4
-      vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
-      vue-tsc: ^0.29.6
-    dependencies:
-      pinia: 2.0.4_typescript@4.4.4+vue@3.2.23
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
-    devDependencies:
-      '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
-      '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      cypress: 8.7.0
-      start-server-and-test: 1.14.0
-      typescript: 4.4.4
-      vite: 2.6.14
-      vue-tsc: 0.29.7_typescript@4.4.4
-
-  playground/typescript-jsx-router-with-tests:
-    specifiers:
-      '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
-      '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      cypress: ^8.7.0
-      start-server-and-test: ^1.14.0
-      typescript: ~4.4.4
-      vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
-      vue-tsc: ^0.29.6
-    dependencies:
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
-    devDependencies:
-      '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
-      '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      cypress: 8.7.0
-      start-server-and-test: 1.14.0
-      typescript: 4.4.4
-      vite: 2.6.14
-      vue-tsc: 0.29.7_typescript@4.4.4
-
-  playground/typescript-jsx-with-tests:
-    specifiers:
-      '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
-      '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
-      '@vitejs/plugin-vue-jsx': ^1.3.0
-      cypress: ^8.7.0
-      start-server-and-test: ^1.14.0
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       typescript: ~4.4.4
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-template-compiler: ^2.6.14
       vue-tsc: ^0.29.6
     dependencies:
-      vue: 3.2.23
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      vue: 2.6.14
     devDependencies:
-      '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
       '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
-      '@vitejs/plugin-vue-jsx': 1.3.0
-      cypress: 8.7.0
-      start-server-and-test: 1.14.0
+      '@vue/runtime-dom': 3.2.23
       typescript: 4.4.4
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
       vue-tsc: 0.29.7_typescript@4.4.4
 
   playground/typescript-pinia:
     specifiers:
       '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       pinia: ^2.0.4
       typescript: ~4.4.4
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-template-compiler: ^2.6.14
       vue-tsc: ^0.29.6
     dependencies:
-      pinia: 2.0.4_typescript@4.4.4+vue@3.2.23
-      vue: 3.2.23
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      pinia: 2.0.4_3906864f589986c51f71a72116128850
+      vue: 2.6.14
     devDependencies:
       '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@vue/runtime-dom': 3.2.23
       typescript: 4.4.4
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
       vue-tsc: 0.29.7_typescript@4.4.4
 
   playground/typescript-pinia-with-tests:
     specifiers:
       '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
+      '@cypress/vue': ^2.2.4
       '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       cypress: ^8.7.0
       pinia: ^2.0.4
       start-server-and-test: ^1.14.0
       typescript: ~4.4.4
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-template-compiler: ^2.6.14
       vue-tsc: ^0.29.6
     dependencies:
-      pinia: 2.0.4_typescript@4.4.4+vue@3.2.23
-      vue: 3.2.23
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      pinia: 2.0.4_3906864f589986c51f71a72116128850
+      vue: 2.6.14
     devDependencies:
       '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
+      '@cypress/vue': 2.2.4_e1d60e678c7b9d4654c8db95df3b5b13
       '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@vue/runtime-dom': 3.2.23
       cypress: 8.7.0
       start-server-and-test: 1.14.0
       typescript: 4.4.4
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
       vue-tsc: 0.29.7_typescript@4.4.4
 
   playground/typescript-router:
     specifiers:
       '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       typescript: ~4.4.4
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-router: ^3.5.3
+      vue-template-compiler: ^2.6.14
       vue-tsc: ^0.29.6
     dependencies:
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      vue: 2.6.14
+      vue-router: 3.5.3
     devDependencies:
       '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@vue/runtime-dom': 3.2.23
       typescript: 4.4.4
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
       vue-tsc: 0.29.7_typescript@4.4.4
 
   playground/typescript-router-pinia:
     specifiers:
       '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       pinia: ^2.0.4
       typescript: ~4.4.4
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-router: ^3.5.3
+      vue-template-compiler: ^2.6.14
       vue-tsc: ^0.29.6
     dependencies:
-      pinia: 2.0.4_typescript@4.4.4+vue@3.2.23
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      pinia: 2.0.4_3906864f589986c51f71a72116128850
+      vue: 2.6.14
+      vue-router: 3.5.3
     devDependencies:
       '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@vue/runtime-dom': 3.2.23
       typescript: 4.4.4
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
       vue-tsc: 0.29.7_typescript@4.4.4
 
   playground/typescript-router-pinia-with-tests:
     specifiers:
       '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
+      '@cypress/vue': ^2.2.4
       '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       cypress: ^8.7.0
       pinia: ^2.0.4
       start-server-and-test: ^1.14.0
       typescript: ~4.4.4
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-router: ^3.5.3
+      vue-template-compiler: ^2.6.14
       vue-tsc: ^0.29.6
     dependencies:
-      pinia: 2.0.4_typescript@4.4.4+vue@3.2.23
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      pinia: 2.0.4_3906864f589986c51f71a72116128850
+      vue: 2.6.14
+      vue-router: 3.5.3
     devDependencies:
       '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
+      '@cypress/vue': 2.2.4_e1d60e678c7b9d4654c8db95df3b5b13
       '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@vue/runtime-dom': 3.2.23
       cypress: 8.7.0
       start-server-and-test: 1.14.0
       typescript: 4.4.4
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
       vue-tsc: 0.29.7_typescript@4.4.4
 
   playground/typescript-router-with-tests:
     specifiers:
       '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
+      '@cypress/vue': ^2.2.4
       '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       cypress: ^8.7.0
       start-server-and-test: ^1.14.0
       typescript: ~4.4.4
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
-      vue-router: ^4.0.12
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-router: ^3.5.3
+      vue-template-compiler: ^2.6.14
       vue-tsc: ^0.29.6
     dependencies:
-      vue: 3.2.23
-      vue-router: 4.0.12_vue@3.2.23
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      vue: 2.6.14
+      vue-router: 3.5.3
     devDependencies:
       '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
+      '@cypress/vue': 2.2.4_e1d60e678c7b9d4654c8db95df3b5b13
       '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@vue/runtime-dom': 3.2.23
       cypress: 8.7.0
       start-server-and-test: 1.14.0
       typescript: 4.4.4
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
       vue-tsc: 0.29.7_typescript@4.4.4
 
   playground/typescript-with-tests:
     specifiers:
       '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
+      '@cypress/vue': ^2.2.4
       '@types/node': ^16.11.10
-      '@vitejs/plugin-vue': ^1.10.0
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       cypress: ^8.7.0
       start-server-and-test: ^1.14.0
       typescript: ~4.4.4
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-template-compiler: ^2.6.14
       vue-tsc: ^0.29.6
     dependencies:
-      vue: 3.2.23
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      vue: 2.6.14
     devDependencies:
       '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
+      '@cypress/vue': 2.2.4_e1d60e678c7b9d4654c8db95df3b5b13
       '@types/node': 16.11.10
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@vue/runtime-dom': 3.2.23
       cypress: 8.7.0
       start-server-and-test: 1.14.0
       typescript: 4.4.4
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
       vue-tsc: 0.29.7_typescript@4.4.4
 
   playground/with-tests:
     specifiers:
       '@cypress/vite-dev-server': ^2.2.1
-      '@cypress/vue': ^3.0.5
-      '@vitejs/plugin-vue': ^1.10.0
+      '@cypress/vue': ^2.2.4
+      '@vue/composition-api': ^1.4.0
+      '@vue/runtime-dom': ^3.2.22
       cypress: ^8.7.0
       start-server-and-test: ^1.14.0
+      unplugin-vue2-script-setup: ^0.7.1
       vite: ^2.6.14
-      vue: ^3.2.22
+      vite-plugin-vue2: ^1.9.0
+      vue: ^2.6.14
+      vue-template-compiler: ^2.6.14
     dependencies:
-      vue: 3.2.23
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      vue: 2.6.14
     devDependencies:
       '@cypress/vite-dev-server': 2.2.1_vite@2.6.14
-      '@cypress/vue': 3.0.5_cypress@8.7.0+vue@3.2.23
-      '@vitejs/plugin-vue': 1.10.1_vite@2.6.14
+      '@cypress/vue': 2.2.4_e1d60e678c7b9d4654c8db95df3b5b13
+      '@vue/runtime-dom': 3.2.23
       cypress: 8.7.0
       start-server-and-test: 1.14.0
+      unplugin-vue2-script-setup: 0.7.1_vite@2.6.14
       vite: 2.6.14
+      vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148
+      vue-template-compiler: 2.6.14
 
 packages:
 
+  /@antfu/utils/0.3.0:
+    resolution: {integrity: sha512-UU8TLr/EoXdg7OjMp0h9oDoIAVr+Z/oW9cpOxQQyrsz6Qzd2ms/1CdWx8fl2OQdFpxGmq5Vc4TwfLHId6nAZjA==}
+    dependencies:
+      '@types/throttle-debounce': 2.1.0
+    dev: true
+
   /@babel/code-frame/7.16.0:
     resolution: {integrity: sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==}
     engines: {node: '>=6.9.0'}
@@ -902,28 +684,37 @@ packages:
     resolution: {integrity: sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==}
     engines: {node: '>=6.0.0'}
     hasBin: true
+    dev: true
 
-  /@babel/plugin-syntax-import-meta/7.10.4_@babel+core@7.16.0:
-    resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==}
+  /@babel/plugin-proposal-class-properties/7.16.0_@babel+core@7.16.0:
+    resolution: {integrity: sha512-mCF3HcuZSY9Fcx56Lbn+CGdT44ioBMMvjNVldpKtj8tpniETdLjnxdHI1+sDWXIM1nNt+EanJOZ3IG9lzVjs7A==}
+    engines: {node: '>=6.9.0'}
     peerDependencies:
       '@babel/core': ^7.0.0-0
     dependencies:
       '@babel/core': 7.16.0
+      '@babel/helper-create-class-features-plugin': 7.16.0_@babel+core@7.16.0
       '@babel/helper-plugin-utils': 7.14.5
+    transitivePeerDependencies:
+      - supports-color
     dev: true
 
-  /@babel/plugin-syntax-jsx/7.16.0_@babel+core@7.16.0:
-    resolution: {integrity: sha512-8zv2+xiPHwly31RK4RmnEYY5zziuF3O7W2kIDW+07ewWDh6Oi0dRq8kwvulRkFgt6DB97RlKs5c1y068iPlCUg==}
+  /@babel/plugin-proposal-decorators/7.16.4_@babel+core@7.16.0:
+    resolution: {integrity: sha512-RESBNX16eNqnBeEVR5sCJpnW0mHiNLNNvGA8PrRuK/4ZJ4TO+6bHleRUuGQYDERVySOKtOhSya/C4MIhwAMAgg==}
     engines: {node: '>=6.9.0'}
     peerDependencies:
       '@babel/core': ^7.0.0-0
     dependencies:
       '@babel/core': 7.16.0
+      '@babel/helper-create-class-features-plugin': 7.16.0_@babel+core@7.16.0
       '@babel/helper-plugin-utils': 7.14.5
+      '@babel/plugin-syntax-decorators': 7.16.0_@babel+core@7.16.0
+    transitivePeerDependencies:
+      - supports-color
     dev: true
 
-  /@babel/plugin-syntax-typescript/7.16.0_@babel+core@7.16.0:
-    resolution: {integrity: sha512-Xv6mEXqVdaqCBfJFyeab0fH2DnUoMsDmhamxsSi4j8nLd4Vtw213WMJr55xxqipC/YVWyPY3K0blJncPYji+dQ==}
+  /@babel/plugin-syntax-decorators/7.16.0_@babel+core@7.16.0:
+    resolution: {integrity: sha512-nxnnngZClvlY13nHJAIDow0S7Qzhq64fQ/NlqS+VER3kjW/4F0jLhXjeL8jcwSwz6Ca3rotT5NJD2T9I7lcv7g==}
     engines: {node: '>=6.9.0'}
     peerDependencies:
       '@babel/core': ^7.0.0-0
@@ -932,14 +723,34 @@ packages:
       '@babel/helper-plugin-utils': 7.14.5
     dev: true
 
-  /@babel/plugin-transform-typescript/7.16.1_@babel+core@7.16.0:
-    resolution: {integrity: sha512-NO4XoryBng06jjw/qWEU2LhcLJr1tWkhpMam/H4eas/CDKMX/b2/Ylb6EI256Y7+FVPCawwSM1rrJNOpDiz+Lg==}
+  /@babel/plugin-syntax-jsx/7.16.0_@babel+core@7.16.0:
+    resolution: {integrity: sha512-8zv2+xiPHwly31RK4RmnEYY5zziuF3O7W2kIDW+07ewWDh6Oi0dRq8kwvulRkFgt6DB97RlKs5c1y068iPlCUg==}
     engines: {node: '>=6.9.0'}
     peerDependencies:
       '@babel/core': ^7.0.0-0
     dependencies:
       '@babel/core': 7.16.0
-      '@babel/helper-create-class-features-plugin': 7.16.0_@babel+core@7.16.0
+      '@babel/helper-plugin-utils': 7.14.5
+    dev: true
+
+  /@babel/plugin-syntax-typescript/7.16.0_@babel+core@7.16.0:
+    resolution: {integrity: sha512-Xv6mEXqVdaqCBfJFyeab0fH2DnUoMsDmhamxsSi4j8nLd4Vtw213WMJr55xxqipC/YVWyPY3K0blJncPYji+dQ==}
+    engines: {node: '>=6.9.0'}
+    peerDependencies:
+      '@babel/core': ^7.0.0-0
+    dependencies:
+      '@babel/core': 7.16.0
+      '@babel/helper-plugin-utils': 7.14.5
+    dev: true
+
+  /@babel/plugin-transform-typescript/7.16.1_@babel+core@7.16.0:
+    resolution: {integrity: sha512-NO4XoryBng06jjw/qWEU2LhcLJr1tWkhpMam/H4eas/CDKMX/b2/Ylb6EI256Y7+FVPCawwSM1rrJNOpDiz+Lg==}
+    engines: {node: '>=6.9.0'}
+    peerDependencies:
+      '@babel/core': ^7.0.0-0
+    dependencies:
+      '@babel/core': 7.16.0
+      '@babel/helper-create-class-features-plugin': 7.16.0_@babel+core@7.16.0
       '@babel/helper-plugin-utils': 7.14.5
       '@babel/plugin-syntax-typescript': 7.16.0_@babel+core@7.16.0
     transitivePeerDependencies:
@@ -1021,24 +832,23 @@ packages:
       - supports-color
     dev: true
 
-  /@cypress/vue/3.0.5_cypress@8.7.0+vue@3.2.23:
-    resolution: {integrity: sha512-v6uVMEP04mCJGfc9/oH2ZIYPZ3fRwiOSzjtQ7jT0O2Lt2+SkoEWbDymG0pUFMRM1W8oc7Ep1hqEgZjIop7RXgw==}
+  /@cypress/vue/2.2.4_e1d60e678c7b9d4654c8db95df3b5b13:
+    resolution: {integrity: sha512-ve6aPUj1UHZRpfU9U/NKfsVgzCYVR2CeTdN/knhdWs8sbW5ERgbD1EkEdJ9+VCdqXcIoqRWdMQovnJUmJW6FLA==}
     engines: {node: '>=8'}
     peerDependencies:
       '@cypress/webpack-dev-server': '*'
-      babel-loader: '*'
-      cypress: '>=7.0.0'
-      vue: '>=3.0.0'
+      cypress: '>=4.5.0'
+      vue: ^2.0.0
     peerDependenciesMeta:
       '@cypress/webpack-dev-server':
         optional: true
-      babel-loader:
-        optional: true
     dependencies:
       '@cypress/mount-utils': 1.0.2
-      '@vue/test-utils': 2.0.0-rc.17_vue@3.2.23
+      '@vue/test-utils': 1.3.0_9065e7474e033a8e4b95615fc8e6c36c
       cypress: 8.7.0
-      vue: 3.2.23
+      vue: 2.6.14
+    transitivePeerDependencies:
+      - vue-template-compiler
     dev: true
 
   /@cypress/xvfb/1.2.4:
@@ -1112,6 +922,10 @@ packages:
     resolution: {integrity: sha512-JYM8x9EGF163bEyhdJBpR2QX1R5naCJHC8ucJylJ3w9/CVBaskdQ8WqBf8MmQrd1kRvp/a4TS8HJ+bxzR7ZJYQ==}
     dev: true
 
+  /@types/throttle-debounce/2.1.0:
+    resolution: {integrity: sha512-5eQEtSCoESnh2FsiLTxE121IiE60hnMqcb435fShf4bpLRjEu1Eoekht23y6zXS9Ts3l+Szu3TARnTsA0GkOkQ==}
+    dev: true
+
   /@types/yauzl/2.9.2:
     resolution: {integrity: sha512-8uALY5LTvSuHgloDVUvWP3pIauILm+8/0pDMokuDYIoNsOkSwd5AiHBTSEJjKTDcZr5z8UpgOWZkxBF4iJftoA==}
     requiresBuild: true
@@ -1120,29 +934,6 @@ packages:
     dev: true
     optional: true
 
-  /@vitejs/plugin-vue-jsx/1.3.0:
-    resolution: {integrity: sha512-mm2jT63s/DWapVWT62t7xsMmwqsLNj5LUpokSXWnlUv9oxPfZsAymhHs6byWxvuvC5jo3zzFMO7rs8ax4PcyxA==}
-    engines: {node: '>=12.0.0'}
-    dependencies:
-      '@babel/core': 7.16.0
-      '@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.16.0
-      '@babel/plugin-transform-typescript': 7.16.1_@babel+core@7.16.0
-      '@rollup/pluginutils': 4.1.1
-      '@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.16.0
-      hash-sum: 2.0.0
-    transitivePeerDependencies:
-      - supports-color
-    dev: true
-
-  /@vitejs/plugin-vue/1.10.1_vite@2.6.14:
-    resolution: {integrity: sha512-oL76QETMSpVE9jIScirGB2bYJEVU/+r+g+K7oG+sXPs9TZljqveoVRsmLyXlMZTjpQkLL8gz527cW80NMGVKJg==}
-    engines: {node: '>=12.0.0'}
-    peerDependencies:
-      vite: ^2.5.10
-    dependencies:
-      vite: 2.6.14
-    dev: true
-
   /@volar/code-gen/0.29.7:
     resolution: {integrity: sha512-PLcTp/37NMKA/urAkKCy+/oOCwNOsw0ywsz3Wc31c94bX6BAcMBHha5F3NPPY8U4CWuxoyxe2Enj0Ojdtkm2Kw==}
     dependencies:
@@ -1203,25 +994,99 @@ packages:
       vscode-uri: 2.1.2
     dev: true
 
-  /@vue/babel-helper-vue-transform-on/1.0.2:
-    resolution: {integrity: sha512-hz4R8tS5jMn8lDq6iD+yWL6XNB699pGIVLk7WSJnn1dbpjaazsjZQkieJoRX6gW5zpYSCFqQ7jUquPNY65tQYA==}
+  /@vue/babel-helper-vue-jsx-merge-props/1.2.1:
+    resolution: {integrity: sha512-QOi5OW45e2R20VygMSNhyQHvpdUwQZqGPc748JLGCYEy+yp8fNFNdbNIGAgZmi9e+2JHPd6i6idRuqivyicIkA==}
     dev: true
 
-  /@vue/babel-plugin-jsx/1.1.1_@babel+core@7.16.0:
-    resolution: {integrity: sha512-j2uVfZjnB5+zkcbc/zsOc0fSNGCMMjaEXP52wdwdIfn0qjFfEYpYZBFKFg+HHnQeJCVrjOeO0YxgaL7DMrym9w==}
+  /@vue/babel-plugin-transform-vue-jsx/1.2.1_@babel+core@7.16.0:
+    resolution: {integrity: sha512-HJuqwACYehQwh1fNT8f4kyzqlNMpBuUK4rSiSES5D4QsYncv5fxFsLyrxFPG2ksO7t5WP+Vgix6tt6yKClwPzA==}
+    peerDependencies:
+      '@babel/core': ^7.0.0-0
     dependencies:
+      '@babel/core': 7.16.0
       '@babel/helper-module-imports': 7.16.0
       '@babel/plugin-syntax-jsx': 7.16.0_@babel+core@7.16.0
-      '@babel/template': 7.16.0
-      '@babel/traverse': 7.16.3
-      '@babel/types': 7.16.0
-      '@vue/babel-helper-vue-transform-on': 1.0.2
-      camelcase: 6.2.1
-      html-tags: 3.1.0
+      '@vue/babel-helper-vue-jsx-merge-props': 1.2.1
+      html-tags: 2.0.0
+      lodash.kebabcase: 4.1.1
       svg-tags: 1.0.0
-    transitivePeerDependencies:
-      - '@babel/core'
-      - supports-color
+    dev: true
+
+  /@vue/babel-preset-jsx/1.2.4_@babel+core@7.16.0:
+    resolution: {integrity: sha512-oRVnmN2a77bYDJzeGSt92AuHXbkIxbf/XXSE3klINnh9AXBmVS1DGa1f0d+dDYpLfsAKElMnqKTQfKn7obcL4w==}
+    peerDependencies:
+      '@babel/core': ^7.0.0-0
+    dependencies:
+      '@babel/core': 7.16.0
+      '@vue/babel-helper-vue-jsx-merge-props': 1.2.1
+      '@vue/babel-plugin-transform-vue-jsx': 1.2.1_@babel+core@7.16.0
+      '@vue/babel-sugar-composition-api-inject-h': 1.2.1_@babel+core@7.16.0
+      '@vue/babel-sugar-composition-api-render-instance': 1.2.4_@babel+core@7.16.0
+      '@vue/babel-sugar-functional-vue': 1.2.2_@babel+core@7.16.0
+      '@vue/babel-sugar-inject-h': 1.2.2_@babel+core@7.16.0
+      '@vue/babel-sugar-v-model': 1.2.3_@babel+core@7.16.0
+      '@vue/babel-sugar-v-on': 1.2.3_@babel+core@7.16.0
+    dev: true
+
+  /@vue/babel-sugar-composition-api-inject-h/1.2.1_@babel+core@7.16.0:
+    resolution: {integrity: sha512-4B3L5Z2G+7s+9Bwbf+zPIifkFNcKth7fQwekVbnOA3cr3Pq71q71goWr97sk4/yyzH8phfe5ODVzEjX7HU7ItQ==}
+    peerDependencies:
+      '@babel/core': ^7.0.0-0
+    dependencies:
+      '@babel/core': 7.16.0
+      '@babel/plugin-syntax-jsx': 7.16.0_@babel+core@7.16.0
+    dev: true
+
+  /@vue/babel-sugar-composition-api-render-instance/1.2.4_@babel+core@7.16.0:
+    resolution: {integrity: sha512-joha4PZznQMsxQYXtR3MnTgCASC9u3zt9KfBxIeuI5g2gscpTsSKRDzWQt4aqNIpx6cv8On7/m6zmmovlNsG7Q==}
+    peerDependencies:
+      '@babel/core': ^7.0.0-0
+    dependencies:
+      '@babel/core': 7.16.0
+      '@babel/plugin-syntax-jsx': 7.16.0_@babel+core@7.16.0
+    dev: true
+
+  /@vue/babel-sugar-functional-vue/1.2.2_@babel+core@7.16.0:
+    resolution: {integrity: sha512-JvbgGn1bjCLByIAU1VOoepHQ1vFsroSA/QkzdiSs657V79q6OwEWLCQtQnEXD/rLTA8rRit4rMOhFpbjRFm82w==}
+    peerDependencies:
+      '@babel/core': ^7.0.0-0
+    dependencies:
+      '@babel/core': 7.16.0
+      '@babel/plugin-syntax-jsx': 7.16.0_@babel+core@7.16.0
+    dev: true
+
+  /@vue/babel-sugar-inject-h/1.2.2_@babel+core@7.16.0:
+    resolution: {integrity: sha512-y8vTo00oRkzQTgufeotjCLPAvlhnpSkcHFEp60+LJUwygGcd5Chrpn5480AQp/thrxVm8m2ifAk0LyFel9oCnw==}
+    peerDependencies:
+      '@babel/core': ^7.0.0-0
+    dependencies:
+      '@babel/core': 7.16.0
+      '@babel/plugin-syntax-jsx': 7.16.0_@babel+core@7.16.0
+    dev: true
+
+  /@vue/babel-sugar-v-model/1.2.3_@babel+core@7.16.0:
+    resolution: {integrity: sha512-A2jxx87mySr/ulAsSSyYE8un6SIH0NWHiLaCWpodPCVOlQVODCaSpiR4+IMsmBr73haG+oeCuSvMOM+ttWUqRQ==}
+    peerDependencies:
+      '@babel/core': ^7.0.0-0
+    dependencies:
+      '@babel/core': 7.16.0
+      '@babel/plugin-syntax-jsx': 7.16.0_@babel+core@7.16.0
+      '@vue/babel-helper-vue-jsx-merge-props': 1.2.1
+      '@vue/babel-plugin-transform-vue-jsx': 1.2.1_@babel+core@7.16.0
+      camelcase: 5.3.1
+      html-tags: 2.0.0
+      svg-tags: 1.0.0
+    dev: true
+
+  /@vue/babel-sugar-v-on/1.2.3_@babel+core@7.16.0:
+    resolution: {integrity: sha512-kt12VJdz/37D3N3eglBywV8GStKNUhNrsxChXIV+o0MwVXORYuhDTHJRKPgLJRb/EY3vM2aRFQdxJBp9CLikjw==}
+    peerDependencies:
+      '@babel/core': ^7.0.0-0
+    dependencies:
+      '@babel/core': 7.16.0
+      '@babel/plugin-syntax-jsx': 7.16.0_@babel+core@7.16.0
+      '@vue/babel-plugin-transform-vue-jsx': 1.2.1_@babel+core@7.16.0
+      camelcase: 5.3.1
     dev: true
 
   /@vue/compiler-core/3.2.23:
@@ -1231,33 +1096,37 @@ packages:
       '@vue/shared': 3.2.23
       estree-walker: 2.0.2
       source-map: 0.6.1
+    dev: true
 
   /@vue/compiler-dom/3.2.23:
     resolution: {integrity: sha512-X2Nw8QFc5lgoK3kio5ktM95nqmLUH+q+N/PbV4kCHzF1avqv/EGLnAhaaF0Iu4bewNvHJAAhhwPZFeoV/22nbw==}
     dependencies:
       '@vue/compiler-core': 3.2.23
       '@vue/shared': 3.2.23
+    dev: true
 
-  /@vue/compiler-sfc/3.2.23:
-    resolution: {integrity: sha512-Aw+pb50Q5zTjyvWod8mNKmYZDRGHJBptmNNWE+84ZxrzEztPgMz8cNYIzWGbwcFVkmJlhvioAMvKnB+LM/sjSA==}
+  /@vue/component-compiler-utils/3.3.0:
+    resolution: {integrity: sha512-97sfH2mYNU+2PzGrmK2haqffDpVASuib9/w2/noxiFi31Z54hW+q3izKQXXQZSNhtiUpAI36uSuYepeBe4wpHQ==}
     dependencies:
-      '@babel/parser': 7.16.4
-      '@vue/compiler-core': 3.2.23
-      '@vue/compiler-dom': 3.2.23
-      '@vue/compiler-ssr': 3.2.23
-      '@vue/ref-transform': 3.2.23
-      '@vue/shared': 3.2.23
-      estree-walker: 2.0.2
-      magic-string: 0.25.7
-      postcss: 8.4.4
+      consolidate: 0.15.1
+      hash-sum: 1.0.2
+      lru-cache: 4.1.5
+      merge-source-map: 1.1.0
+      postcss: 7.0.39
+      postcss-selector-parser: 6.0.6
       source-map: 0.6.1
-    dev: false
+      vue-template-es2015-compiler: 1.9.1
+    optionalDependencies:
+      prettier: 2.5.0
+    dev: true
 
-  /@vue/compiler-ssr/3.2.23:
-    resolution: {integrity: sha512-Bqzn4jFyXPK1Ehqiq7e/czS8n62gtYF1Zfeu0DrR5uv+SBllh7LIvZjZU6+c8qbocAd3/T3I3gn2cZGmnDb6zg==}
+  /@vue/composition-api/1.4.0_vue@2.6.14:
+    resolution: {integrity: sha512-fanqJw1cqhkfS1dcpFY52CeR0aWDBr7ub/0ObPWqMnNPdRsMi1gX04Q3aLeRtJEuVeCFewNbqvkPskkSPTVaXQ==}
+    peerDependencies:
+      vue: '>= 2.5 < 3'
     dependencies:
-      '@vue/compiler-dom': 3.2.23
-      '@vue/shared': 3.2.23
+      tslib: 2.3.1
+      vue: 2.6.14
     dev: false
 
   /@vue/devtools-api/6.0.0-beta.20.1:
@@ -1268,6 +1137,7 @@ packages:
     resolution: {integrity: sha512-8RGVr/5Kpgb/EkCjgHXqttgA5IMc6n0lIXFY4TVbMkzdXrvaIhzBd7Te44oIDsTSYVKZLpfHd6/wEnuDqE8vFw==}
     dependencies:
       '@vue/shared': 3.2.23
+    dev: true
 
   /@vue/ref-transform/3.2.23:
     resolution: {integrity: sha512-gW0GD2PSAs/th7mC7tPB/UwpIQxclbApVtsDtscDmOJXb2+cdu60ny+SuHNgfrlUT/JqWKQHq7jFKO4woxLNaA==}
@@ -1277,14 +1147,14 @@ packages:
       '@vue/shared': 3.2.23
       estree-walker: 2.0.2
       magic-string: 0.25.7
-    dev: false
+    dev: true
 
   /@vue/runtime-core/3.2.23:
     resolution: {integrity: sha512-wSI5lmY2kCGLf89iiygqxVh6/5bsawz78Me9n1x4U2bHnN0yf3PWyuhN0WgIE8VfEaF7e75E333uboNEIFjgkg==}
     dependencies:
       '@vue/reactivity': 3.2.23
       '@vue/shared': 3.2.23
-    dev: false
+    dev: true
 
   /@vue/runtime-dom/3.2.23:
     resolution: {integrity: sha512-z6lp0888NkLmxD9j2sGoll8Kb7J743s8s6w7GbiyUc4WZwm0KJ35B4qTFDMoIU0G7CatS6Z+yRTpPHc6srtByg==}
@@ -1292,27 +1162,27 @@ packages:
       '@vue/runtime-core': 3.2.23
       '@vue/shared': 3.2.23
       csstype: 2.6.19
-    dev: false
-
-  /@vue/server-renderer/3.2.23_vue@3.2.23:
-    resolution: {integrity: sha512-mgQ2VAE5WjeZELJKNbwE69uiBNpN+3LyL0ZDki1bJWVwHD2fhPfx7pwyYuiucE81xz2LxVsyGxhKKUL997g8vw==}
-    peerDependencies:
-      vue: 3.2.23
-    dependencies:
-      '@vue/compiler-ssr': 3.2.23
-      '@vue/shared': 3.2.23
-      vue: 3.2.23
-    dev: false
+    dev: true
 
   /@vue/shared/3.2.23:
     resolution: {integrity: sha512-U+/Jefa0QfXUF2qVy9Dqlrb6HKJSr9/wJcM66wXmWcTOoqg7hOWzF4qruDle51pyF4x3wMn6TSH54UdjKjCKMA==}
+    dev: true
 
-  /@vue/test-utils/2.0.0-rc.17_vue@3.2.23:
-    resolution: {integrity: sha512-7LHZKsFRV/HqDoMVY+cJamFzgHgsrmQFalROHC5FMWrzPzd+utG5e11krj1tVsnxYufGA2ABShX4nlcHXED+zQ==}
+  /@vue/test-utils/1.3.0_9065e7474e033a8e4b95615fc8e6c36c:
+    resolution: {integrity: sha512-Xk2Xiyj2k5dFb8eYUKkcN9PzqZSppTlx7LaQWBbdA8tqh3jHr/KHX2/YLhNFc/xwDrgeLybqd+4ZCPJSGPIqeA==}
     peerDependencies:
-      vue: ^3.0.1
+      vue: 2.x
+      vue-template-compiler: ^2.x
     dependencies:
-      vue: 3.2.23
+      dom-event-types: 1.0.0
+      lodash: 4.17.21
+      pretty: 2.0.0
+      vue: 2.6.14
+      vue-template-compiler: 2.6.14
+    dev: true
+
+  /abbrev/1.1.1:
+    resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==}
     dev: true
 
   /acorn/7.4.1:
@@ -1350,6 +1220,11 @@ packages:
       type-fest: 0.21.3
     dev: true
 
+  /ansi-regex/2.1.1:
+    resolution: {integrity: sha1-w7M6te42DYbg5ijwRorn7yfWVN8=}
+    engines: {node: '>=0.10.0'}
+    dev: true
+
   /ansi-regex/5.0.1:
     resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
     engines: {node: '>=8'}
@@ -1360,6 +1235,11 @@ packages:
     engines: {node: '>=12'}
     dev: true
 
+  /ansi-styles/2.2.1:
+    resolution: {integrity: sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=}
+    engines: {node: '>=0.10.0'}
+    dev: true
+
   /ansi-styles/3.2.1:
     resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==}
     engines: {node: '>=4'}
@@ -1436,6 +1316,404 @@ packages:
       - debug
     dev: true
 
+  /babel-code-frame/6.26.0:
+    resolution: {integrity: sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=}
+    dependencies:
+      chalk: 1.1.3
+      esutils: 2.0.3
+      js-tokens: 3.0.2
+    dev: true
+
+  /babel-helper-builder-binary-assignment-operator-visitor/6.24.1:
+    resolution: {integrity: sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=}
+    dependencies:
+      babel-helper-explode-assignable-expression: 6.24.1
+      babel-runtime: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-helper-call-delegate/6.24.1:
+    resolution: {integrity: sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=}
+    dependencies:
+      babel-helper-hoist-variables: 6.24.1
+      babel-runtime: 6.26.0
+      babel-traverse: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-helper-define-map/6.26.0:
+    resolution: {integrity: sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=}
+    dependencies:
+      babel-helper-function-name: 6.24.1
+      babel-runtime: 6.26.0
+      babel-types: 6.26.0
+      lodash: 4.17.21
+    dev: true
+
+  /babel-helper-explode-assignable-expression/6.24.1:
+    resolution: {integrity: sha1-8luCz33BBDPFX3BZLVdGQArCLKo=}
+    dependencies:
+      babel-runtime: 6.26.0
+      babel-traverse: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-helper-function-name/6.24.1:
+    resolution: {integrity: sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=}
+    dependencies:
+      babel-helper-get-function-arity: 6.24.1
+      babel-runtime: 6.26.0
+      babel-template: 6.26.0
+      babel-traverse: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-helper-get-function-arity/6.24.1:
+    resolution: {integrity: sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=}
+    dependencies:
+      babel-runtime: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-helper-hoist-variables/6.24.1:
+    resolution: {integrity: sha1-HssnaJydJVE+rbyZFKc/VAi+enY=}
+    dependencies:
+      babel-runtime: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-helper-optimise-call-expression/6.24.1:
+    resolution: {integrity: sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=}
+    dependencies:
+      babel-runtime: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-helper-regex/6.26.0:
+    resolution: {integrity: sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=}
+    dependencies:
+      babel-runtime: 6.26.0
+      babel-types: 6.26.0
+      lodash: 4.17.21
+    dev: true
+
+  /babel-helper-remap-async-to-generator/6.24.1:
+    resolution: {integrity: sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=}
+    dependencies:
+      babel-helper-function-name: 6.24.1
+      babel-runtime: 6.26.0
+      babel-template: 6.26.0
+      babel-traverse: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-helper-replace-supers/6.24.1:
+    resolution: {integrity: sha1-v22/5Dk40XNpohPKiov3S2qQqxo=}
+    dependencies:
+      babel-helper-optimise-call-expression: 6.24.1
+      babel-messages: 6.23.0
+      babel-runtime: 6.26.0
+      babel-template: 6.26.0
+      babel-traverse: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-messages/6.23.0:
+    resolution: {integrity: sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=}
+    dependencies:
+      babel-runtime: 6.26.0
+    dev: true
+
+  /babel-plugin-check-es2015-constants/6.22.0:
+    resolution: {integrity: sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=}
+    dependencies:
+      babel-runtime: 6.26.0
+    dev: true
+
+  /babel-plugin-syntax-async-functions/6.13.0:
+    resolution: {integrity: sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=}
+    dev: true
+
+  /babel-plugin-syntax-exponentiation-operator/6.13.0:
+    resolution: {integrity: sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=}
+    dev: true
+
+  /babel-plugin-syntax-trailing-function-commas/6.22.0:
+    resolution: {integrity: sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=}
+    dev: true
+
+  /babel-plugin-transform-async-to-generator/6.24.1:
+    resolution: {integrity: sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=}
+    dependencies:
+      babel-helper-remap-async-to-generator: 6.24.1
+      babel-plugin-syntax-async-functions: 6.13.0
+      babel-runtime: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-arrow-functions/6.22.0:
+    resolution: {integrity: sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=}
+    dependencies:
+      babel-runtime: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-block-scoped-functions/6.22.0:
+    resolution: {integrity: sha1-u8UbSflk1wy42OC5ToICRs46YUE=}
+    dependencies:
+      babel-runtime: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-block-scoping/6.26.0:
+    resolution: {integrity: sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=}
+    dependencies:
+      babel-runtime: 6.26.0
+      babel-template: 6.26.0
+      babel-traverse: 6.26.0
+      babel-types: 6.26.0
+      lodash: 4.17.21
+    dev: true
+
+  /babel-plugin-transform-es2015-classes/6.24.1:
+    resolution: {integrity: sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=}
+    dependencies:
+      babel-helper-define-map: 6.26.0
+      babel-helper-function-name: 6.24.1
+      babel-helper-optimise-call-expression: 6.24.1
+      babel-helper-replace-supers: 6.24.1
+      babel-messages: 6.23.0
+      babel-runtime: 6.26.0
+      babel-template: 6.26.0
+      babel-traverse: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-computed-properties/6.24.1:
+    resolution: {integrity: sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=}
+    dependencies:
+      babel-runtime: 6.26.0
+      babel-template: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-destructuring/6.23.0:
+    resolution: {integrity: sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=}
+    dependencies:
+      babel-runtime: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-duplicate-keys/6.24.1:
+    resolution: {integrity: sha1-c+s9MQypaePvnskcU3QabxV2Qj4=}
+    dependencies:
+      babel-runtime: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-for-of/6.23.0:
+    resolution: {integrity: sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=}
+    dependencies:
+      babel-runtime: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-function-name/6.24.1:
+    resolution: {integrity: sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=}
+    dependencies:
+      babel-helper-function-name: 6.24.1
+      babel-runtime: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-literals/6.22.0:
+    resolution: {integrity: sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=}
+    dependencies:
+      babel-runtime: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-modules-amd/6.24.1:
+    resolution: {integrity: sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=}
+    dependencies:
+      babel-plugin-transform-es2015-modules-commonjs: 6.26.2
+      babel-runtime: 6.26.0
+      babel-template: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-modules-commonjs/6.26.2:
+    resolution: {integrity: sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==}
+    dependencies:
+      babel-plugin-transform-strict-mode: 6.24.1
+      babel-runtime: 6.26.0
+      babel-template: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-modules-systemjs/6.24.1:
+    resolution: {integrity: sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=}
+    dependencies:
+      babel-helper-hoist-variables: 6.24.1
+      babel-runtime: 6.26.0
+      babel-template: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-modules-umd/6.24.1:
+    resolution: {integrity: sha1-rJl+YoXNGO1hdq22B9YCNErThGg=}
+    dependencies:
+      babel-plugin-transform-es2015-modules-amd: 6.24.1
+      babel-runtime: 6.26.0
+      babel-template: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-object-super/6.24.1:
+    resolution: {integrity: sha1-JM72muIcuDp/hgPa0CH1cusnj40=}
+    dependencies:
+      babel-helper-replace-supers: 6.24.1
+      babel-runtime: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-parameters/6.24.1:
+    resolution: {integrity: sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=}
+    dependencies:
+      babel-helper-call-delegate: 6.24.1
+      babel-helper-get-function-arity: 6.24.1
+      babel-runtime: 6.26.0
+      babel-template: 6.26.0
+      babel-traverse: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-shorthand-properties/6.24.1:
+    resolution: {integrity: sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=}
+    dependencies:
+      babel-runtime: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-spread/6.22.0:
+    resolution: {integrity: sha1-1taKmfia7cRTbIGlQujdnxdG+NE=}
+    dependencies:
+      babel-runtime: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-sticky-regex/6.24.1:
+    resolution: {integrity: sha1-AMHNsaynERLN8M9hJsLta0V8zbw=}
+    dependencies:
+      babel-helper-regex: 6.26.0
+      babel-runtime: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-template-literals/6.22.0:
+    resolution: {integrity: sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=}
+    dependencies:
+      babel-runtime: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-typeof-symbol/6.23.0:
+    resolution: {integrity: sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=}
+    dependencies:
+      babel-runtime: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-es2015-unicode-regex/6.24.1:
+    resolution: {integrity: sha1-04sS9C6nMj9yk4fxinxa4frrNek=}
+    dependencies:
+      babel-helper-regex: 6.26.0
+      babel-runtime: 6.26.0
+      regexpu-core: 2.0.0
+    dev: true
+
+  /babel-plugin-transform-exponentiation-operator/6.24.1:
+    resolution: {integrity: sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=}
+    dependencies:
+      babel-helper-builder-binary-assignment-operator-visitor: 6.24.1
+      babel-plugin-syntax-exponentiation-operator: 6.13.0
+      babel-runtime: 6.26.0
+    dev: true
+
+  /babel-plugin-transform-regenerator/6.26.0:
+    resolution: {integrity: sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=}
+    dependencies:
+      regenerator-transform: 0.10.1
+    dev: true
+
+  /babel-plugin-transform-strict-mode/6.24.1:
+    resolution: {integrity: sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=}
+    dependencies:
+      babel-runtime: 6.26.0
+      babel-types: 6.26.0
+    dev: true
+
+  /babel-preset-env/1.7.0:
+    resolution: {integrity: sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==}
+    dependencies:
+      babel-plugin-check-es2015-constants: 6.22.0
+      babel-plugin-syntax-trailing-function-commas: 6.22.0
+      babel-plugin-transform-async-to-generator: 6.24.1
+      babel-plugin-transform-es2015-arrow-functions: 6.22.0
+      babel-plugin-transform-es2015-block-scoped-functions: 6.22.0
+      babel-plugin-transform-es2015-block-scoping: 6.26.0
+      babel-plugin-transform-es2015-classes: 6.24.1
+      babel-plugin-transform-es2015-computed-properties: 6.24.1
+      babel-plugin-transform-es2015-destructuring: 6.23.0
+      babel-plugin-transform-es2015-duplicate-keys: 6.24.1
+      babel-plugin-transform-es2015-for-of: 6.23.0
+      babel-plugin-transform-es2015-function-name: 6.24.1
+      babel-plugin-transform-es2015-literals: 6.22.0
+      babel-plugin-transform-es2015-modules-amd: 6.24.1
+      babel-plugin-transform-es2015-modules-commonjs: 6.26.2
+      babel-plugin-transform-es2015-modules-systemjs: 6.24.1
+      babel-plugin-transform-es2015-modules-umd: 6.24.1
+      babel-plugin-transform-es2015-object-super: 6.24.1
+      babel-plugin-transform-es2015-parameters: 6.24.1
+      babel-plugin-transform-es2015-shorthand-properties: 6.24.1
+      babel-plugin-transform-es2015-spread: 6.22.0
+      babel-plugin-transform-es2015-sticky-regex: 6.24.1
+      babel-plugin-transform-es2015-template-literals: 6.22.0
+      babel-plugin-transform-es2015-typeof-symbol: 6.23.0
+      babel-plugin-transform-es2015-unicode-regex: 6.24.1
+      babel-plugin-transform-exponentiation-operator: 6.24.1
+      babel-plugin-transform-regenerator: 6.26.0
+      browserslist: 3.2.8
+      invariant: 2.2.4
+      semver: 5.7.1
+    dev: true
+
+  /babel-runtime/6.26.0:
+    resolution: {integrity: sha1-llxwWGaOgrVde/4E/yM3vItWR/4=}
+    dependencies:
+      core-js: 2.6.12
+      regenerator-runtime: 0.11.1
+    dev: true
+
+  /babel-template/6.26.0:
+    resolution: {integrity: sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=}
+    dependencies:
+      babel-runtime: 6.26.0
+      babel-traverse: 6.26.0
+      babel-types: 6.26.0
+      babylon: 6.18.0
+      lodash: 4.17.21
+    dev: true
+
+  /babel-traverse/6.26.0:
+    resolution: {integrity: sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=}
+    dependencies:
+      babel-code-frame: 6.26.0
+      babel-messages: 6.23.0
+      babel-runtime: 6.26.0
+      babel-types: 6.26.0
+      babylon: 6.18.0
+      debug: 2.6.9
+      globals: 9.18.0
+      invariant: 2.2.4
+      lodash: 4.17.21
+    dev: true
+
+  /babel-types/6.26.0:
+    resolution: {integrity: sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=}
+    dependencies:
+      babel-runtime: 6.26.0
+      esutils: 2.0.3
+      lodash: 4.17.21
+      to-fast-properties: 1.0.3
+    dev: true
+
   /babel-walk/3.0.0-canary-5:
     resolution: {integrity: sha512-GAwkz0AihzY5bkwIY5QDR+LvsRQgB/B+1foMPvi0FZPMl5fjD7ICiznUiBdLYMH1QYe6vqu4gWYytZOccLouFw==}
     engines: {node: '>= 10.0.0'}
@@ -1443,6 +1721,11 @@ packages:
       '@babel/types': 7.16.0
     dev: true
 
+  /babylon/6.18.0:
+    resolution: {integrity: sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==}
+    hasBin: true
+    dev: true
+
   /balanced-match/1.0.2:
     resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
     dev: true
@@ -1475,6 +1758,14 @@ packages:
       fill-range: 7.0.1
     dev: true
 
+  /browserslist/3.2.8:
+    resolution: {integrity: sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==}
+    hasBin: true
+    dependencies:
+      caniuse-lite: 1.0.30001283
+      electron-to-chromium: 1.4.4
+    dev: true
+
   /browserslist/4.18.1:
     resolution: {integrity: sha512-8ScCzdpPwR2wQh8IT82CA2VgDwjHyqMovPBZSNH54+tm4Jk2pCuv90gmAdH6J84OCRWi0b4gMe6O6XPXuJnjgQ==}
     engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
@@ -1503,9 +1794,9 @@ packages:
       get-intrinsic: 1.1.1
     dev: true
 
-  /camelcase/6.2.1:
-    resolution: {integrity: sha512-tVI4q5jjFV5CavAU8DXfza/TJcZutVKo/5Foskmsqcm0MsL91moHvwiGNnqaa2o6PF/7yT5ikDRcVcl8Rj6LCA==}
-    engines: {node: '>=10'}
+  /camelcase/5.3.1:
+    resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==}
+    engines: {node: '>=6'}
     dev: true
 
   /caniuse-lite/1.0.30001283:
@@ -1516,6 +1807,17 @@ packages:
     resolution: {integrity: sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=}
     dev: true
 
+  /chalk/1.1.3:
+    resolution: {integrity: sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=}
+    engines: {node: '>=0.10.0'}
+    dependencies:
+      ansi-styles: 2.2.1
+      escape-string-regexp: 1.0.5
+      has-ansi: 2.0.0
+      strip-ansi: 3.0.1
+      supports-color: 2.0.0
+    dev: true
+
   /chalk/2.4.2:
     resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==}
     engines: {node: '>=4'}
@@ -1625,23 +1927,57 @@ packages:
       delayed-stream: 1.0.0
     dev: true
 
+  /commander/2.20.3:
+    resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
+    dev: true
+
   /commander/5.1.0:
     resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==}
     engines: {node: '>= 6'}
     dev: true
 
-  /commander/8.3.0:
-    resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==}
-    engines: {node: '>= 12'}
+  /commander/8.3.0:
+    resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==}
+    engines: {node: '>= 12'}
+    dev: true
+
+  /common-tags/1.8.2:
+    resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==}
+    engines: {node: '>=4.0.0'}
+    dev: true
+
+  /concat-map/0.0.1:
+    resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=}
+    dev: true
+
+  /condense-newlines/0.2.1:
+    resolution: {integrity: sha1-PemFVTE5R10yUCyDsC9gaE0kxV8=}
+    engines: {node: '>=0.10.0'}
+    dependencies:
+      extend-shallow: 2.0.1
+      is-whitespace: 0.3.0
+      kind-of: 3.2.2
+    dev: true
+
+  /config-chain/1.1.13:
+    resolution: {integrity: sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==}
+    dependencies:
+      ini: 1.3.8
+      proto-list: 1.2.4
     dev: true
 
-  /common-tags/1.8.2:
-    resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==}
-    engines: {node: '>=4.0.0'}
+  /consolidate/0.15.1:
+    resolution: {integrity: sha512-DW46nrsMJgy9kqAbPt5rKaCr7uFtpo4mSUvLHIUbJEjm0vo+aY5QLwBUq3FK4tRnJr/X0Psc0C4jf/h+HtXSMw==}
+    engines: {node: '>= 0.10.0'}
+    dependencies:
+      bluebird: 3.7.2
     dev: true
 
-  /concat-map/0.0.1:
-    resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=}
+  /consolidate/0.16.0:
+    resolution: {integrity: sha512-Nhl1wzCslqXYTJVDyJCu3ODohy9OfBMB5uD2BiBTzd7w+QY0lBzafkR8y8755yMYHAaMD4NuzbAw03/xzfw+eQ==}
+    engines: {node: '>= 0.10.0'}
+    dependencies:
+      bluebird: 3.7.2
     dev: true
 
   /constantinople/4.0.1:
@@ -1657,6 +1993,12 @@ packages:
       safe-buffer: 5.1.2
     dev: true
 
+  /core-js/2.6.12:
+    resolution: {integrity: sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==}
+    deprecated: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
+    requiresBuild: true
+    dev: true
+
   /core-util-is/1.0.2:
     resolution: {integrity: sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=}
     dev: true
@@ -1681,9 +2023,15 @@ packages:
       which: 2.0.2
     dev: true
 
+  /cssesc/3.0.0:
+    resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==}
+    engines: {node: '>=4'}
+    hasBin: true
+    dev: true
+
   /csstype/2.6.19:
     resolution: {integrity: sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ==}
-    dev: false
+    dev: true
 
   /cypress/8.7.0:
     resolution: {integrity: sha512-b1bMC3VQydC6sXzBMFnSqcvwc9dTZMgcaOzT0vpSD+Gq1yFc+72JDWi55sfUK5eIeNLAtWOGy1NNb6UlhMvB+Q==}
@@ -1746,10 +2094,20 @@ packages:
     resolution: {integrity: sha512-P6twpd70BcPK34K26uJ1KT3wlhpuOAPoMwJzpsIWUxHZ7wpmbdZL/hQqBDfz7hGurYSa5PhzdhDHtt319hL3ig==}
     dev: true
 
+  /de-indent/1.0.2:
+    resolution: {integrity: sha1-sgOOhG3DO6pXlhKNCAS0VbjB4h0=}
+    dev: true
+
+  /debug/2.6.9:
+    resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==}
+    dependencies:
+      ms: 2.0.0
+    dev: true
+
   /debug/3.2.7:
     resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==}
     dependencies:
-      ms: 2.1.3
+      ms: 2.1.2
     dev: true
 
   /debug/4.3.2:
@@ -1809,6 +2167,10 @@ packages:
       object-keys: 1.1.1
     dev: true
 
+  /defu/5.0.0:
+    resolution: {integrity: sha512-VHg73EDeRXlu7oYWRmmrNp/nl7QkdXUxkQQKig0Zk8daNmm84AbGoC8Be6/VVLJEKxn12hR0UBmz8O+xQiAPKQ==}
+    dev: true
+
   /delayed-stream/1.0.0:
     resolution: {integrity: sha1-3zrhmayt+31ECqrgsp4icrJOxhk=}
     engines: {node: '>=0.4.0'}
@@ -1818,6 +2180,10 @@ packages:
     resolution: {integrity: sha1-6oCxBqh1OHdOijpKWv4pPeSJ4Kk=}
     dev: true
 
+  /dom-event-types/1.0.0:
+    resolution: {integrity: sha512-2G2Vwi2zXTHBGqXHsJ4+ak/iP0N8Ar+G8a7LiD2oup5o4sQWytwqqrZu/O6hIMV0KMID2PL69OhpshLO0n7UJQ==}
+    dev: true
+
   /dom-serializer/1.3.2:
     resolution: {integrity: sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==}
     dependencies:
@@ -1830,6 +2196,13 @@ packages:
     resolution: {integrity: sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==}
     dev: true
 
+  /domhandler/3.3.0:
+    resolution: {integrity: sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==}
+    engines: {node: '>= 4'}
+    dependencies:
+      domelementtype: 2.2.0
+    dev: true
+
   /domhandler/4.2.2:
     resolution: {integrity: sha512-PzE9aBMsdZO8TK4BnuJwH0QT41wgMbRzuZrHUcpYncEjmQazq8QEaBWgLG7ZyC/DAZKEgglpIA6j4Qn/HmxS3w==}
     engines: {node: '>= 4'}
@@ -1856,6 +2229,16 @@ packages:
       safer-buffer: 2.1.2
     dev: true
 
+  /editorconfig/0.15.3:
+    resolution: {integrity: sha512-M9wIMFx96vq0R4F+gRpY3o2exzb8hEj/n9S8unZtHSvYjibBp/iMufSzvmOcV/laG0ZtuTVGtiJggPOSW2r93g==}
+    hasBin: true
+    dependencies:
+      commander: 2.20.3
+      lru-cache: 4.1.5
+      semver: 5.7.1
+      sigmund: 1.0.1
+    dev: true
+
   /electron-to-chromium/1.4.4:
     resolution: {integrity: sha512-teHtgwcmVcL46jlFvAaqjyiTLWuMrUQO1JqV303JKB4ysXG6m8fXSFhbjal9st0r9mNskI22AraJZorb1VcLVg==}
     dev: true
@@ -2110,6 +2493,12 @@ packages:
 
   /estree-walker/2.0.2:
     resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
+    dev: true
+
+  /esutils/2.0.3:
+    resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
+    engines: {node: '>=0.10.0'}
+    dev: true
 
   /event-stream/3.3.4:
     resolution: {integrity: sha1-SrTJoPWlTbkzi0w02Gv86PSzVXE=}
@@ -2164,6 +2553,13 @@ packages:
       pify: 2.3.0
     dev: true
 
+  /extend-shallow/2.0.1:
+    resolution: {integrity: sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=}
+    engines: {node: '>=0.10.0'}
+    dependencies:
+      is-extendable: 0.1.1
+    dev: true
+
   /extend/3.0.2:
     resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==}
     dev: true
@@ -2343,6 +2739,11 @@ packages:
     engines: {node: '>=4'}
     dev: true
 
+  /globals/9.18.0:
+    resolution: {integrity: sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==}
+    engines: {node: '>=0.10.0'}
+    dev: true
+
   /graceful-fs/4.2.8:
     resolution: {integrity: sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==}
     dev: true
@@ -2361,6 +2762,13 @@ packages:
       har-schema: 2.0.0
     dev: true
 
+  /has-ansi/2.0.0:
+    resolution: {integrity: sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=}
+    engines: {node: '>=0.10.0'}
+    dependencies:
+      ansi-regex: 2.1.1
+    dev: true
+
   /has-bigints/1.0.1:
     resolution: {integrity: sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==}
     dev: true
@@ -2394,17 +2802,35 @@ packages:
       function-bind: 1.1.1
     dev: true
 
+  /hash-sum/1.0.2:
+    resolution: {integrity: sha1-M7QHd3VMZDJXPBIMw4CLvRDUfwQ=}
+    dev: true
+
   /hash-sum/2.0.0:
     resolution: {integrity: sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==}
     dev: true
 
+  /he/1.2.0:
+    resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==}
+    hasBin: true
+    dev: true
+
   /hosted-git-info/2.8.9:
     resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==}
     dev: true
 
-  /html-tags/3.1.0:
-    resolution: {integrity: sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==}
-    engines: {node: '>=8'}
+  /html-tags/2.0.0:
+    resolution: {integrity: sha1-ELMKOGCF9Dzt41PMj6fLDe7qZos=}
+    engines: {node: '>=4'}
+    dev: true
+
+  /htmlparser2/5.0.1:
+    resolution: {integrity: sha512-vKZZra6CSe9qsJzh0BjBGXo8dvzNsq/oGvsjfRdOrrryfeD9UOBEEQdeoqCRmKZchF5h2zOBMQ6YuQ0uRUmdbQ==}
+    dependencies:
+      domelementtype: 2.2.0
+      domhandler: 3.3.0
+      domutils: 2.8.0
+      entities: 2.2.0
     dev: true
 
   /htmlparser2/7.2.0:
@@ -2457,6 +2883,10 @@ packages:
     resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
     dev: true
 
+  /ini/1.3.8:
+    resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==}
+    dev: true
+
   /ini/2.0.0:
     resolution: {integrity: sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==}
     engines: {node: '>=10'}
@@ -2471,6 +2901,12 @@ packages:
       side-channel: 1.0.4
     dev: true
 
+  /invariant/2.2.4:
+    resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==}
+    dependencies:
+      loose-envify: 1.4.0
+    dev: true
+
   /is-arrayish/0.2.1:
     resolution: {integrity: sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=}
     dev: true
@@ -2489,6 +2925,10 @@ packages:
       has-tostringtag: 1.0.0
     dev: true
 
+  /is-buffer/1.1.6:
+    resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==}
+    dev: true
+
   /is-callable/1.2.4:
     resolution: {integrity: sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==}
     engines: {node: '>= 0.4'}
@@ -2521,6 +2961,11 @@ packages:
       object-assign: 4.1.1
     dev: true
 
+  /is-extendable/0.1.1:
+    resolution: {integrity: sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=}
+    engines: {node: '>=0.10.0'}
+    dev: true
+
   /is-fullwidth-code-point/3.0.0:
     resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
     engines: {node: '>=8'}
@@ -2611,6 +3056,11 @@ packages:
       call-bind: 1.0.2
     dev: true
 
+  /is-whitespace/0.3.0:
+    resolution: {integrity: sha1-Fjnssb4DauxppUy7QBz77XEUq38=}
+    engines: {node: '>=0.10.0'}
+    dev: true
+
   /isexe/2.0.0:
     resolution: {integrity: sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=}
     dev: true
@@ -2629,10 +3079,25 @@ packages:
       '@sideway/pinpoint': 2.0.0
     dev: true
 
+  /js-beautify/1.14.0:
+    resolution: {integrity: sha512-yuck9KirNSCAwyNJbqW+BxJqJ0NLJ4PwBUzQQACl5O3qHMBXVkXb/rD0ilh/Lat/tn88zSZ+CAHOlk0DsY7GuQ==}
+    engines: {node: '>=10'}
+    hasBin: true
+    dependencies:
+      config-chain: 1.1.13
+      editorconfig: 0.15.3
+      glob: 7.2.0
+      nopt: 5.0.0
+    dev: true
+
   /js-stringify/1.0.2:
     resolution: {integrity: sha1-Fzb939lyTyijaCrcYjCufk6Weds=}
     dev: true
 
+  /js-tokens/3.0.2:
+    resolution: {integrity: sha1-mGbfOVECEw449/mWvOtlRDIJwls=}
+    dev: true
+
   /js-tokens/4.0.0:
     resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
     dev: true
@@ -2641,6 +3106,11 @@ packages:
     resolution: {integrity: sha1-peZUwuWi3rXyAdls77yoDA7y9RM=}
     dev: true
 
+  /jsesc/0.5.0:
+    resolution: {integrity: sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=}
+    hasBin: true
+    dev: true
+
   /jsesc/2.5.2:
     resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==}
     engines: {node: '>=4'}
@@ -2704,6 +3174,13 @@ packages:
       promise: 7.3.1
     dev: true
 
+  /kind-of/3.2.2:
+    resolution: {integrity: sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=}
+    engines: {node: '>=0.10.0'}
+    dependencies:
+      is-buffer: 1.1.6
+    dev: true
+
   /kleur/3.0.3:
     resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}
     engines: {node: '>=6'}
@@ -2774,6 +3251,10 @@ packages:
       strip-bom: 3.0.0
     dev: true
 
+  /lodash.kebabcase/4.1.1:
+    resolution: {integrity: sha1-hImxyw0p/4gZXM7KRI/21swpXDY=}
+    dev: true
+
   /lodash.once/4.1.1:
     resolution: {integrity: sha1-DdOXEhPHxW34gJd9UEyI+0cal6w=}
     dev: true
@@ -2800,6 +3281,20 @@ packages:
       wrap-ansi: 6.2.0
     dev: true
 
+  /loose-envify/1.4.0:
+    resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
+    hasBin: true
+    dependencies:
+      js-tokens: 4.0.0
+    dev: true
+
+  /lru-cache/4.1.5:
+    resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==}
+    dependencies:
+      pseudomap: 1.0.2
+      yallist: 2.1.2
+    dev: true
+
   /lru-cache/6.0.0:
     resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
     engines: {node: '>=10'}
@@ -2811,7 +3306,7 @@ packages:
     resolution: {integrity: sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==}
     dependencies:
       sourcemap-codec: 1.4.8
-    dev: false
+    dev: true
 
   /map-stream/0.1.0:
     resolution: {integrity: sha1-5WqpTEyAVaFkBKBnS3jyFffI4ZQ=}
@@ -2822,6 +3317,12 @@ packages:
     engines: {node: '>= 0.10.0'}
     dev: true
 
+  /merge-source-map/1.1.0:
+    resolution: {integrity: sha512-Qkcp7P2ygktpMPh2mCQZaf3jhN6D3Z/qVZHSdWvQ+2Ef5HgRAPBO57A77+ENm0CPx2+1Ce/MYKi3ymqdfuqibw==}
+    dependencies:
+      source-map: 0.6.1
+    dev: true
+
   /merge-stream/2.0.0:
     resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
     dev: true
@@ -2861,18 +3362,19 @@ packages:
     resolution: {integrity: sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==}
     dev: true
 
-  /ms/2.1.2:
-    resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
+  /ms/2.0.0:
+    resolution: {integrity: sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=}
     dev: true
 
-  /ms/2.1.3:
-    resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
+  /ms/2.1.2:
+    resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
     dev: true
 
   /nanoid/3.1.30:
     resolution: {integrity: sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ==}
     engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
     hasBin: true
+    dev: true
 
   /nice-try/1.0.5:
     resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==}
@@ -2882,6 +3384,14 @@ packages:
     resolution: {integrity: sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==}
     dev: true
 
+  /nopt/5.0.0:
+    resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==}
+    engines: {node: '>=6'}
+    hasBin: true
+    dependencies:
+      abbrev: 1.1.1
+    dev: true
+
   /normalize-package-data/2.5.0:
     resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==}
     dependencies:
@@ -3015,8 +3525,13 @@ packages:
     resolution: {integrity: sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=}
     dev: true
 
+  /picocolors/0.2.1:
+    resolution: {integrity: sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==}
+    dev: true
+
   /picocolors/1.0.0:
     resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
+    dev: true
 
   /picomatch/2.3.0:
     resolution: {integrity: sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==}
@@ -3039,7 +3554,7 @@ packages:
     engines: {node: '>=4'}
     dev: true
 
-  /pinia/2.0.4_typescript@4.4.4+vue@3.2.23:
+  /pinia/2.0.4_3906864f589986c51f71a72116128850:
     resolution: {integrity: sha512-nAc2f9HmOcBbWRlnGDuBGedM1G6uFAR10FnJWP1/dgm1I2tM5jbgKL/3IgynP4mBnPCy//ky7g0WpCZl5Mmxsg==}
     peerDependencies:
       '@vue/composition-api': ^1.4.0
@@ -3051,13 +3566,14 @@ packages:
       typescript:
         optional: true
     dependencies:
+      '@vue/composition-api': 1.4.0_vue@2.6.14
       '@vue/devtools-api': 6.0.0-beta.20.1
       typescript: 4.4.4
-      vue: 3.2.23
-      vue-demi: 0.12.1_vue@3.2.23
+      vue: 2.6.14
+      vue-demi: 0.12.1_5f1bd7414a2bfaaedeb8e06aba7234f1
     dev: false
 
-  /pinia/2.0.4_vue@3.2.23:
+  /pinia/2.0.4_5f1bd7414a2bfaaedeb8e06aba7234f1:
     resolution: {integrity: sha512-nAc2f9HmOcBbWRlnGDuBGedM1G6uFAR10FnJWP1/dgm1I2tM5jbgKL/3IgynP4mBnPCy//ky7g0WpCZl5Mmxsg==}
     peerDependencies:
       '@vue/composition-api': ^1.4.0
@@ -3069,11 +3585,28 @@ packages:
       typescript:
         optional: true
     dependencies:
+      '@vue/composition-api': 1.4.0_vue@2.6.14
       '@vue/devtools-api': 6.0.0-beta.20.1
-      vue: 3.2.23
-      vue-demi: 0.12.1_vue@3.2.23
+      vue: 2.6.14
+      vue-demi: 0.12.1_5f1bd7414a2bfaaedeb8e06aba7234f1
     dev: false
 
+  /postcss-selector-parser/6.0.6:
+    resolution: {integrity: sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg==}
+    engines: {node: '>=4'}
+    dependencies:
+      cssesc: 3.0.0
+      util-deprecate: 1.0.2
+    dev: true
+
+  /postcss/7.0.39:
+    resolution: {integrity: sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==}
+    engines: {node: '>=6.0.0'}
+    dependencies:
+      picocolors: 0.2.1
+      source-map: 0.6.1
+    dev: true
+
   /postcss/8.4.4:
     resolution: {integrity: sha512-joU6fBsN6EIer28Lj6GDFoC/5yOZzLCfn0zHAn/MYXI7aPt4m4hK5KC5ovEZXy+lnCjmYIbQWngvju2ddyEr8Q==}
     engines: {node: ^10 || ^12 || >=14}
@@ -3081,6 +3614,7 @@ packages:
       nanoid: 3.1.30
       picocolors: 1.0.0
       source-map-js: 1.0.1
+    dev: true
 
   /prettier/2.5.0:
     resolution: {integrity: sha512-FM/zAKgWTxj40rH03VxzIPdXmj39SwSjwG0heUcNFwI+EMZJnY93yAiKXM3dObIKAM5TA88werc8T/EwhB45eg==}
@@ -3093,6 +3627,20 @@ packages:
     engines: {node: '>=6'}
     dev: true
 
+  /pretty/2.0.0:
+    resolution: {integrity: sha1-rbx5YLe7/iiaVX3F9zdhmiINBqU=}
+    engines: {node: '>=0.10.0'}
+    dependencies:
+      condense-newlines: 0.2.1
+      extend-shallow: 2.0.1
+      js-beautify: 1.14.0
+    dev: true
+
+  /private/0.1.8:
+    resolution: {integrity: sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==}
+    engines: {node: '>= 0.6'}
+    dev: true
+
   /promise/7.3.1:
     resolution: {integrity: sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==}
     dependencies:
@@ -3107,6 +3655,10 @@ packages:
       sisteransi: 1.0.5
     dev: true
 
+  /proto-list/1.2.4:
+    resolution: {integrity: sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=}
+    dev: true
+
   /proxy-from-env/1.0.0:
     resolution: {integrity: sha1-M8UDmPcOp+uW0h97gXYwpVeRx+4=}
     dev: true
@@ -3119,6 +3671,10 @@ packages:
       event-stream: 3.3.4
     dev: true
 
+  /pseudomap/1.0.2:
+    resolution: {integrity: sha1-8FKijacOYYkX7wqKw0wa5aaChrM=}
+    dev: true
+
   /psl/1.8.0:
     resolution: {integrity: sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==}
     dev: true
@@ -3241,6 +3797,12 @@ packages:
     deprecated: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
     dev: true
 
+  /querystring/0.2.1:
+    resolution: {integrity: sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg==}
+    engines: {node: '>=0.4.x'}
+    deprecated: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
+    dev: true
+
   /ramda/0.27.1:
     resolution: {integrity: sha512-PgIdVpn5y5Yns8vqb8FzBUEYn98V3xcPgawAkkgj0YJ0qDsnHCiNmZYfOGMgOvoB0eWFLpYbhxUR3mxfDIMvpw==}
     dev: true
@@ -3254,6 +3816,41 @@ packages:
       path-type: 3.0.0
     dev: true
 
+  /regenerate/1.4.2:
+    resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==}
+    dev: true
+
+  /regenerator-runtime/0.11.1:
+    resolution: {integrity: sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==}
+    dev: true
+
+  /regenerator-transform/0.10.1:
+    resolution: {integrity: sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==}
+    dependencies:
+      babel-runtime: 6.26.0
+      babel-types: 6.26.0
+      private: 0.1.8
+    dev: true
+
+  /regexpu-core/2.0.0:
+    resolution: {integrity: sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=}
+    dependencies:
+      regenerate: 1.4.2
+      regjsgen: 0.2.0
+      regjsparser: 0.1.5
+    dev: true
+
+  /regjsgen/0.2.0:
+    resolution: {integrity: sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=}
+    dev: true
+
+  /regjsparser/0.1.5:
+    resolution: {integrity: sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=}
+    hasBin: true
+    dependencies:
+      jsesc: 0.5.0
+    dev: true
+
   /request-light/0.5.5:
     resolution: {integrity: sha512-AvjfJuhyT6dYfhtIBF+IpTPQco+Td1QJ6PsIJ5xui110vQ5p9HxHk+m1XJqXazLQT6CxxSx9eNv6R/+fu4bZig==}
     dev: true
@@ -3370,6 +3967,10 @@ packages:
       object-inspect: 1.11.0
     dev: true
 
+  /sigmund/1.0.1:
+    resolution: {integrity: sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=}
+    dev: true
+
   /signal-exit/3.0.6:
     resolution: {integrity: sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ==}
     dev: true
@@ -3378,6 +3979,11 @@ packages:
     resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
     dev: true
 
+  /slash/3.0.0:
+    resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
+    engines: {node: '>=8'}
+    dev: true
+
   /slice-ansi/3.0.0:
     resolution: {integrity: sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==}
     engines: {node: '>=8'}
@@ -3407,6 +4013,7 @@ packages:
   /source-map-js/1.0.1:
     resolution: {integrity: sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA==}
     engines: {node: '>=0.10.0'}
+    dev: true
 
   /source-map/0.5.7:
     resolution: {integrity: sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=}
@@ -3416,10 +4023,16 @@ packages:
   /source-map/0.6.1:
     resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
     engines: {node: '>=0.10.0'}
+    dev: true
+
+  /source-map/0.7.3:
+    resolution: {integrity: sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==}
+    engines: {node: '>= 8'}
+    dev: true
 
   /sourcemap-codec/1.4.8:
     resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==}
-    dev: false
+    dev: true
 
   /spdx-correct/3.1.1:
     resolution: {integrity: sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==}
@@ -3533,6 +4146,13 @@ packages:
       define-properties: 1.1.3
     dev: true
 
+  /strip-ansi/3.0.1:
+    resolution: {integrity: sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=}
+    engines: {node: '>=0.10.0'}
+    dependencies:
+      ansi-regex: 2.1.1
+    dev: true
+
   /strip-ansi/6.0.1:
     resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
     engines: {node: '>=8'}
@@ -3557,6 +4177,11 @@ packages:
     engines: {node: '>=6'}
     dev: true
 
+  /supports-color/2.0.0:
+    resolution: {integrity: sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=}
+    engines: {node: '>=0.8.0'}
+    dev: true
+
   /supports-color/5.5.0:
     resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==}
     engines: {node: '>=4'}
@@ -3602,6 +4227,11 @@ packages:
       rimraf: 3.0.2
     dev: true
 
+  /to-fast-properties/1.0.3:
+    resolution: {integrity: sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=}
+    engines: {node: '>=0.10.0'}
+    dev: true
+
   /to-fast-properties/2.0.0:
     resolution: {integrity: sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=}
     engines: {node: '>=4'}
@@ -3630,6 +4260,10 @@ packages:
     resolution: {integrity: sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==}
     dev: true
 
+  /tslib/2.3.1:
+    resolution: {integrity: sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==}
+    dev: false
+
   /tunnel-agent/0.6.0:
     resolution: {integrity: sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=}
     dependencies:
@@ -3665,6 +4299,53 @@ packages:
     engines: {node: '>= 10.0.0'}
     dev: true
 
+  /unplugin-vue2-script-setup/0.7.1_vite@2.6.14:
+    resolution: {integrity: sha512-aE1T1ZM2y0SYpFo4nSvKkhWoH1CbO8eoR6gOvyufPGS4ZRKkueZ9oTy8IvM6NiePhnrhMRoMAPNi+yk1ENT0GQ==}
+    peerDependencies:
+      pug: ^3.0.2
+    peerDependenciesMeta:
+      pug:
+        optional: true
+    dependencies:
+      '@antfu/utils': 0.3.0
+      '@babel/core': 7.16.0
+      '@babel/generator': 7.16.0
+      '@babel/parser': 7.16.4
+      '@babel/traverse': 7.16.3
+      '@babel/types': 7.16.0
+      '@rollup/pluginutils': 4.1.1
+      '@vue/compiler-core': 3.2.23
+      '@vue/ref-transform': 3.2.23
+      '@vue/shared': 3.2.23
+      defu: 5.0.0
+      htmlparser2: 5.0.1
+      magic-string: 0.25.7
+      unplugin: 0.2.21_vite@2.6.14
+    transitivePeerDependencies:
+      - rollup
+      - supports-color
+      - vite
+      - webpack
+    dev: true
+
+  /unplugin/0.2.21_vite@2.6.14:
+    resolution: {integrity: sha512-IJ15/L5XbhnV7J09Zjk0FT5HEkBjkXucWAXQWRsmEtUxmmxwh23yavrmDbCF6ZPxWiVB28+wnKIHePTRRpQPbQ==}
+    peerDependencies:
+      rollup: ^2.50.0
+      vite: ^2.3.0
+      webpack: 4 || 5
+    peerDependenciesMeta:
+      rollup:
+        optional: true
+      vite:
+        optional: true
+      webpack:
+        optional: true
+    dependencies:
+      vite: 2.6.14
+      webpack-virtual-modules: 0.4.3
+    dev: true
+
   /untildify/4.0.0:
     resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==}
     engines: {node: '>=8'}
@@ -3688,6 +4369,10 @@ packages:
       querystring: 0.2.0
     dev: true
 
+  /util-deprecate/1.0.2:
+    resolution: {integrity: sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=}
+    dev: true
+
   /uuid/8.3.2:
     resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==}
     hasBin: true
@@ -3709,6 +4394,39 @@ packages:
       extsprintf: 1.3.0
     dev: true
 
+  /vite-plugin-vue2/1.9.0_cd1846aafe4c35f31c699104ee2df148:
+    resolution: {integrity: sha512-4vmcoiOmOTGjRnA0hk8tHYqk96ZxRpe4AmeCqJJ8jQuNo+SDF1zXPyhxAUIK1tuK354No77WVHHIimVvZQuvIA==}
+    peerDependencies:
+      vite: ^2.0.0-beta.23
+      vue-template-compiler: ^2.2.0
+    dependencies:
+      '@babel/core': 7.16.0
+      '@babel/parser': 7.16.4
+      '@babel/plugin-proposal-class-properties': 7.16.0_@babel+core@7.16.0
+      '@babel/plugin-proposal-decorators': 7.16.4_@babel+core@7.16.0
+      '@babel/plugin-transform-typescript': 7.16.1_@babel+core@7.16.0
+      '@rollup/pluginutils': 4.1.1
+      '@vue/babel-helper-vue-jsx-merge-props': 1.2.1
+      '@vue/babel-preset-jsx': 1.2.4_@babel+core@7.16.0
+      '@vue/component-compiler-utils': 3.3.0
+      babel-preset-env: 1.7.0
+      consolidate: 0.16.0
+      debug: 4.3.3
+      fs-extra: 9.1.0
+      hash-sum: 2.0.0
+      magic-string: 0.25.7
+      prettier: 2.5.0
+      querystring: 0.2.1
+      rollup: 2.60.1
+      slash: 3.0.0
+      source-map: 0.7.3
+      vite: 2.6.14
+      vue-template-compiler: 2.6.14
+      vue-template-es2015-compiler: 1.9.1
+    transitivePeerDependencies:
+      - supports-color
+    dev: true
+
   /vite/2.6.14:
     resolution: {integrity: sha512-2HA9xGyi+EhY2MXo0+A2dRsqsAG3eFNEVIo12olkWhOmc8LfiM+eMdrXf+Ruje9gdXgvSqjLI9freec1RUM5EA==}
     engines: {node: '>=12.2.0'}
@@ -3854,7 +4572,7 @@ packages:
       vscode-typescript-languageservice: 0.29.7
     dev: true
 
-  /vue-demi/0.12.1_vue@3.2.23:
+  /vue-demi/0.12.1_5f1bd7414a2bfaaedeb8e06aba7234f1:
     resolution: {integrity: sha512-QL3ny+wX8c6Xm1/EZylbgzdoDolye+VpCXRhI2hug9dJTP3OUJ3lmiKN3CsVV3mOJKwFi0nsstbgob0vG7aoIw==}
     engines: {node: '>=12'}
     hasBin: true
@@ -3866,18 +4584,25 @@ packages:
       '@vue/composition-api':
         optional: true
     dependencies:
-      vue: 3.2.23
+      '@vue/composition-api': 1.4.0_vue@2.6.14
+      vue: 2.6.14
     dev: false
 
-  /vue-router/4.0.12_vue@3.2.23:
-    resolution: {integrity: sha512-CPXvfqe+mZLB1kBWssssTiWg4EQERyqJZes7USiqfW9B5N2x+nHlnsM1D3b5CaJ6qgCvMmYJnz+G0iWjNCvXrg==}
-    peerDependencies:
-      vue: ^3.0.0
-    dependencies:
-      '@vue/devtools-api': 6.0.0-beta.20.1
-      vue: 3.2.23
+  /vue-router/3.5.3:
+    resolution: {integrity: sha512-FUlILrW3DGitS2h+Xaw8aRNvGTwtuaxrRkNSHWTizOfLUie7wuYwezeZ50iflRn8YPV5kxmU2LQuu3nM/b3Zsg==}
     dev: false
 
+  /vue-template-compiler/2.6.14:
+    resolution: {integrity: sha512-ODQS1SyMbjKoO1JBJZojSw6FE4qnh9rIpUZn2EUT86FKizx9uH5z6uXiIrm4/Nb/gwxTi/o17ZDEGWAXHvtC7g==}
+    dependencies:
+      de-indent: 1.0.2
+      he: 1.2.0
+    dev: true
+
+  /vue-template-es2015-compiler/1.9.1:
+    resolution: {integrity: sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==}
+    dev: true
+
   /vue-tsc/0.29.7_typescript@4.4.4:
     resolution: {integrity: sha512-8jCGovixOZgV6Qu9nOyoTon3HUNUG9YD8cnMHUCGqdu/H21P5D+4k/d8rHzpGvbUlwq5dP2pFCx6rmRwfTfDmA==}
     hasBin: true
@@ -3889,14 +4614,8 @@ packages:
       vscode-vue-languageservice: 0.29.7
     dev: true
 
-  /vue/3.2.23:
-    resolution: {integrity: sha512-MGp9JZC37lzGhwSu6c1tQxrQbXbw7XKFqtYh7SFwNrNK899FPxGAHwSHMZijMChTSC3uZrD2BGO/3EHOgMJ0cw==}
-    dependencies:
-      '@vue/compiler-dom': 3.2.23
-      '@vue/compiler-sfc': 3.2.23
-      '@vue/runtime-dom': 3.2.23
-      '@vue/server-renderer': 3.2.23_vue@3.2.23
-      '@vue/shared': 3.2.23
+  /vue/2.6.14:
+    resolution: {integrity: sha512-x2284lgYvjOMj3Za7kqzRcUSxBboHqtgRE2zlos1qWaOye5yUmHn42LB1250NJBLRwEcdrB0JRwyPTEPhfQjiQ==}
     dev: false
 
   /wait-on/6.0.0_debug@4.3.2:
@@ -3913,6 +4632,10 @@ packages:
       - debug
     dev: true
 
+  /webpack-virtual-modules/0.4.3:
+    resolution: {integrity: sha512-5NUqC2JquIL2pBAAo/VfBP6KuGkHIZQXW/lNKupLPfhViwh8wNsu0BObtl09yuKZszeEUfbXz8xhrHvSG16Nqw==}
+    dev: true
+
   /which-boxed-primitive/1.0.2:
     resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==}
     dependencies:
@@ -3970,6 +4693,10 @@ packages:
     resolution: {integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=}
     dev: true
 
+  /yallist/2.1.2:
+    resolution: {integrity: sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=}
+    dev: true
+
   /yallist/4.0.0:
     resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==}
     dev: true
index 2e47061ab93d8babfe1c147327e1acae64ad2177..5ff3824e17ba1d9440b4ed77fced265d6195ce3f 100644 (file)
@@ -25,7 +25,7 @@ function createProjectWithFeatureFlags(flags) {
   }
 }
 
-const featureFlags = ['typescript', 'jsx', 'router', 'pinia', 'with-tests']
+const featureFlags = ['typescript', 'router', 'pinia', 'with-tests']
 
 // The following code & comments are generated by GitHub CoPilot.
 function fullCombination(arr) {
index f5ffe833b9e2105c4aeaac31b9c0f2c7230a4c12..9ccf3b914d6fc958dd5eb1e00ed78ed59cb8f982 100644 (file)
@@ -5,10 +5,14 @@
     "preview": "vite preview --port 5050"
   },
   "dependencies": {
-    "vue": "^3.2.22"
+    "@vue/composition-api": "^1.4.0",
+    "vue": "^2.6.14"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.10.0",
-    "vite": "^2.6.14"
+    "@vue/runtime-dom": "^3.2.22",
+    "unplugin-vue2-script-setup": "^0.7.1",
+    "vite-plugin-vue2": "^1.9.0",
+    "vite": "^2.6.14",
+    "vue-template-compiler": "^2.6.14"
   }
 }
index 5cd06c6349fe8417141de5f6d7750a8e0a57107b..32065ead15cac2d5af2ff33a3a80eb7472470b6b 100644 (file)
@@ -1,11 +1,17 @@
 import { fileURLToPath } from 'url'
 
 import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { createVuePlugin as vue2 } from 'vite-plugin-vue2'
+import scriptSetup from 'unplugin-vue2-script-setup/vite'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  plugins: [vue()],
+  plugins: [
+    vue2({
+      jsx: true
+    }),
+    scriptSetup()
+  ],
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))
index b0b6901bf5d8bd252c01b735605f50569c258095..099c613b1ea07f5a3a97471c114c43e7b0a99904 100644 (file)
@@ -4,17 +4,19 @@ import TheWelcome from './components/TheWelcome.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
 
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+      </div>
+    </header>
 
-  <main>
-    <TheWelcome />
-  </main>
+    <main>
+      <TheWelcome />
+    </main>
+  </div>
 </template>
 
 <style>
index aa16fa1fb036bc5423c56f4fe214ac458a2f8661..246beb3466e8f9822e679fedc6dd6008de63a123 100644 (file)
@@ -13,7 +13,7 @@ defineProps({
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index 1d003f8669af790635e6c7254c4c4469fff1f02a..d63a553b9e2c71038b4013797bd97b4bc40466ca 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index a69f3a9d69f15b4a2ecc1bf97617f00597ef2064..d6fb360b053b7de3b70e9fba6a11ff6c7db91a27 100644 (file)
@@ -3,11 +3,11 @@ import HelloWorld from '../HelloWorld.vue'
 
 describe('HelloWorld', () => {
   it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
   })
 
   it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
     cy.get('h1').should('contain', 'Hello Cypress')
   })
 })
index 37edbaf4e3a02bc143496d03502d1b1cdc9101c1..eac0e1bb4d3ddc66833b77813823bfba7eef4131 100644 (file)
@@ -3,20 +3,22 @@ import HelloWorld from '@/components/HelloWorld.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
+
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+
+        <nav>
+          <router-link to="/">Home</router-link>
+          <router-link to="/about">About</router-link>
+        </nav>
+      </div>
+    </header>
+
+    <router-view />
+  </div>
 </template>
 
 <style>
index aa16fa1fb036bc5423c56f4fe214ac458a2f8661..246beb3466e8f9822e679fedc6dd6008de63a123 100644 (file)
@@ -13,7 +13,7 @@ defineProps({
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index 1d003f8669af790635e6c7254c4c4469fff1f02a..d63a553b9e2c71038b4013797bd97b4bc40466ca 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index a69f3a9d69f15b4a2ecc1bf97617f00597ef2064..d6fb360b053b7de3b70e9fba6a11ff6c7db91a27 100644 (file)
@@ -3,11 +3,11 @@ import HelloWorld from '../HelloWorld.vue'
 
 describe('HelloWorld', () => {
   it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
   })
 
   it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
     cy.get('h1').should('contain', 'Hello Cypress')
   })
 })
index a49ae507f39bdb792025d7c4bd1573b876e8cc96..cf9820b0fd0ce9ac3426338b921d8807c57187c8 100644 (file)
@@ -1,8 +1,12 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import Vue from 'vue'
+import VueRouter from 'vue-router'
 import HomeView from '../views/HomeView.vue'
 
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+Vue.use(VueRouter)
+
+const router = new VueRouter({
+  mode: 'history',
+  base: import.meta.env.BASE_URL,
   routes: [
     {
       path: '/',
index d91eefc43298580190dd4bd28b96ae9009c540e2..794bc4490d9638865ba47b24279655ba2fdf5615 100644 (file)
@@ -4,17 +4,19 @@ import TheWelcome from './components/TheWelcome.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
 
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-    </div>
-  </header>
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+      </div>
+    </header>
 
-  <main>
-    <TheWelcome />
-  </main>
+    <main>
+      <TheWelcome />
+    </main>
+  </div>
 </template>
 
 <style>
index 01118cd9c4669ac6db8b6e6cdcf14e790a2df051..db400342b80b761f1ea499e12a3e7848152bdda0 100644 (file)
@@ -10,7 +10,7 @@ defineProps<{
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>.
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>.
     </h3>
   </div>
 </template>
index b91a8eddc5a9803ddc4b7a4e9db4c1bf52c71478..447abca0267d6a734e331a42026c9cc51c3038d8 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index a69f3a9d69f15b4a2ecc1bf97617f00597ef2064..d6fb360b053b7de3b70e9fba6a11ff6c7db91a27 100644 (file)
@@ -3,11 +3,11 @@ import HelloWorld from '../HelloWorld.vue'
 
 describe('HelloWorld', () => {
   it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
   })
 
   it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
     cy.get('h1').should('contain', 'Hello Cypress')
   })
 })
index 8a1e9b196ed79b4cb5e69eb4ef7f54fa049683dc..1a9747c3ade2efd2dfe6021689c858d72ee7f036 100644 (file)
@@ -3,20 +3,22 @@ import HelloWorld from '@/components/HelloWorld.vue'
 </script>
 
 <template>
-  <header>
-    <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
-
-    <div class="wrapper">
-      <HelloWorld msg="You did it!" />
-
-      <nav>
-        <router-link to="/">Home</router-link>
-        <router-link to="/about">About</router-link>
-      </nav>
-    </div>
-  </header>
-
-  <router-view />
+  <div id="app">
+    <header>
+      <img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
+
+      <div class="wrapper">
+        <HelloWorld msg="You did it!" />
+
+        <nav>
+          <router-link to="/">Home</router-link>
+          <router-link to="/about">About</router-link>
+        </nav>
+      </div>
+    </header>
+
+    <router-view />
+  </div>
 </template>
 
 <style>
index 987adb9fb13c98fc14f55401be619b9ace61eeab..c1d1964af0522945556d5cab11d3566e0a33e134 100644 (file)
@@ -10,7 +10,7 @@ defineProps<{
     <h3>
       You’ve successfully created a project with
       <a target="_blank" href="https://vitejs.dev/">Vite</a> +
-      <a target="_blank" href="https://v3.vuejs.org/">Vue 3</a>. What's next?
+      <a target="_blank" href="https://vuejs.org/">Vue 2</a>. What's next?
     </h3>
   </div>
 </template>
index b91a8eddc5a9803ddc4b7a4e9db4c1bf52c71478..447abca0267d6a734e331a42026c9cc51c3038d8 100644 (file)
@@ -8,77 +8,79 @@ import SupportIcon from './icons/IconSupport.vue'
 </script>
 
 <template>
-  <WelcomeItem>
-    <template #icon>
-      <DocumentationIcon />
-    </template>
-    <template #heading>Documentation</template>
+  <div>
+    <WelcomeItem>
+      <template #icon>
+        <DocumentationIcon />
+      </template>
+      <template #heading>Documentation</template>
 
-    Vue’s
-    <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
-    provides you with all information you need to get started.
-  </WelcomeItem>
+      Vue’s
+      <a target="_blank" href="https://v3.vuejs.org/">official documentation</a>
+      provides you with all information you need to get started.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <ToolingIcon />
-    </template>
-    <template #heading>Tooling</template>
+    <WelcomeItem>
+      <template #icon>
+        <ToolingIcon />
+      </template>
+      <template #heading>Tooling</template>
 
-    This project is served and bundled with
-    <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
-    setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
-    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to test
-    your components and web pages, check out
-    <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
-    <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
-      >Cypress Component Testing</a
-    >.
+      This project is served and bundled with
+      <a href="https://vitejs.dev/guide/features.html" target="_blank">Vite</a>. The recommended IDE
+      setup is <a href="https://code.visualstudio.com/" target="_blank">VSCode</a> +
+      <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>. If you need to
+      test your components and web pages, check out
+      <a href="https://www.cypress.io/" target="_blank">Cypress</a> and
+      <a href="https://docs.cypress.io/guides/component-testing/introduction" target="_blank"
+        >Cypress Component Testing</a
+      >.
 
-    <br />
+      <br />
 
-    More instructions are available in <code>README.md</code>.
-  </WelcomeItem>
+      More instructions are available in <code>README.md</code>.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <EcosystemIcon />
-    </template>
-    <template #heading>Ecosystem</template>
+    <WelcomeItem>
+      <template #icon>
+        <EcosystemIcon />
+      </template>
+      <template #heading>Ecosystem</template>
 
-    Get official tools and libraries for your project:
-    <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
-    <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
-    <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
-    <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
-    resources, we suggest paying
-    <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
-    a visit.
-  </WelcomeItem>
+      Get official tools and libraries for your project:
+      <a target="_blank" href="https://vuex.vuejs.org/">Vuex</a>,
+      <a target="_blank" href="https://router.vuejs.org/">Vue Router</a>,
+      <a target="_blank" href="https://vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
+      <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need
+      more resources, we suggest paying
+      <a target="_blank" href="https://github.com/vuejs/awesome-vue">Awesome Vue</a>
+      a visit.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <CommunityIcon />
-    </template>
-    <template #heading>Community</template>
+    <WelcomeItem>
+      <template #icon>
+        <CommunityIcon />
+      </template>
+      <template #heading>Community</template>
 
-    Got stuck? Ask your question on
-    <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
-    <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
-    You should also subscribe to
-    <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
-    <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
-    twitter account for latest news in the Vue world.
-  </WelcomeItem>
+      Got stuck? Ask your question on
+      <a target="_blank" href="https://chat.vuejs.org">Vue Land</a>, our official Discord server, or
+      <a target="_blank" href="https://stackoverflow.com/questions/tagged/vue.js">StackOverflow</a>.
+      You should also subscribe to
+      <a target="_blank" href="https://news.vuejs.org">our mailing list</a> and follow the official
+      <a target="_blank" href="https://twitter.com/vuejs">@vuejs</a>
+      twitter account for latest news in the Vue world.
+    </WelcomeItem>
 
-  <WelcomeItem>
-    <template #icon>
-      <SupportIcon />
-    </template>
-    <template #heading>Support Vue</template>
+    <WelcomeItem>
+      <template #icon>
+        <SupportIcon />
+      </template>
+      <template #heading>Support Vue</template>
 
-    As an independent project, Vue relies on community backing for its sustainability. You can help
-    us by
-    <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
-  </WelcomeItem>
+      As an independent project, Vue relies on community backing for its sustainability. You can
+      help us by
+      <a target="_blank" href="https://vuejs.org/support-vuejs/">becoming a sponsor</a>.
+    </WelcomeItem>
+  </div>
 </template>
index a69f3a9d69f15b4a2ecc1bf97617f00597ef2064..d6fb360b053b7de3b70e9fba6a11ff6c7db91a27 100644 (file)
@@ -3,11 +3,11 @@ import HelloWorld from '../HelloWorld.vue'
 
 describe('HelloWorld', () => {
   it('playground', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
   })
 
   it('renders properly', () => {
-    mount(HelloWorld, { props: { msg: 'Hello Cypress' } })
+    mount(HelloWorld, { propsData: { msg: 'Hello Cypress' } })
     cy.get('h1').should('contain', 'Hello Cypress')
   })
 })
diff --git a/template/code/typescript-router/src/main.ts b/template/code/typescript-router/src/main.ts
deleted file mode 100644 (file)
index c8e37b0..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-import { createApp } from 'vue'
-import App from './App.vue'
-import router from './router'
-
-const app = createApp(App)
-
-app.use(router)
-
-app.mount('#app')
index a49ae507f39bdb792025d7c4bd1573b876e8cc96..cf9820b0fd0ce9ac3426338b921d8807c57187c8 100644 (file)
@@ -1,8 +1,12 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import Vue from 'vue'
+import VueRouter from 'vue-router'
 import HomeView from '../views/HomeView.vue'
 
-const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+Vue.use(VueRouter)
+
+const router = new VueRouter({
+  mode: 'history',
+  base: import.meta.env.BASE_URL,
   routes: [
     {
       path: '/',
index 065161668711a635eccaa8327f73d82229dad8f4..8a5474e787a408f1903d60cc8d030e0ebcbf1209 100644 (file)
@@ -7,7 +7,7 @@
   },
   "devDependencies": {
     "@cypress/vite-dev-server": "^2.2.1",
-    "@cypress/vue": "^3.0.5",
+    "@cypress/vue": "^2.2.4",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0"
   }
diff --git a/template/config/jsx/package.json b/template/config/jsx/package.json
deleted file mode 100644 (file)
index 66f91b1..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-  "devDependencies": {
-    "@vitejs/plugin-vue-jsx": "^1.3.0"
-  }
-}
diff --git a/template/config/jsx/vite.config.js b/template/config/jsx/vite.config.js
deleted file mode 100644 (file)
index f140f27..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import { fileURLToPath } from 'url'
-
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
-import vueJsx from '@vitejs/plugin-vue-jsx'
-
-// https://vitejs.dev/config/
-export default defineConfig({
-  plugins: [vue(), vueJsx()],
-  resolve: {
-    alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
-    }
-  }
-})
index a103281a9724b8311a88dd3dfabcab1e29d44f15..aeb4cb0a0bc448c40626caaedc99d2e292f64962 100644 (file)
@@ -1,5 +1,5 @@
 {
   "dependencies": {
-    "vue-router": "^4.0.12"
+    "vue-router": "^3.5.3"
   }
 }
index 636d9c3f6c6ac43150a1997e54cb29d877513912..dc50f12e8dcc3aea04b1305a4bf6c508e54fd9fe 100644 (file)
@@ -1,8 +1,16 @@
 /// <reference types="vite/client" />
 
 declare module '*.vue' {
-  import { DefineComponent } from 'vue'
-  // eslint-disable-next-line
-  const component: DefineComponent<{}, {}, any>
-  export default component
+  import Vue from 'vue'
+  export default Vue
+}
+
+declare global {
+  namespace JSX {
+    interface Element extends VNode {}
+    interface ElementClass extends Vue {}
+    interface IntrinsicElements {
+      [elem: string]: any
+    }
+  }
 }
index 8c7071924e521e87d4c260773a63e1843793e2f9..211e5a0bac8fce504e14c19eea9e4d62f0822741 100644 (file)
@@ -17,5 +17,8 @@
     "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
     "skipLibCheck": true
   },
+  "vueCompilerOptions": {
+    "experimentalCompatMode": 2
+  },
   "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
 }
diff --git a/template/config/vuex/package.json b/template/config/vuex/package.json
deleted file mode 100644 (file)
index 099c41a..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-  "dependencies": {
-    "vuex": "^4.0.2"
-  }
-}
diff --git a/template/config/vuex/src/store/index.js b/template/config/vuex/src/store/index.js
deleted file mode 100644 (file)
index 2b9da8f..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-import { createStore } from 'vuex'
-
-export default createStore({
-  state: {},
-  mutations: {},
-  actions: {},
-  modules: {}
-})
index 01433bca2ac76590c48fabfee8d69d7b223f48bb..437d7358011b2fed73c87fd0f64018754ed96190 100644 (file)
@@ -1,4 +1,12 @@
-import { createApp } from 'vue'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+
 import App from './App.vue'
 
-createApp(App).mount('#app')
+Vue.use(VueCompositionAPI)
+
+const app = new Vue({
+  render: (h) => h(App)
+})
+
+app.$mount('#app')
index 5f77a8911f244df66962baf136f53475149b37f4..82926e979e13061f721ce5c65f3b3d166f913347 100644 (file)
@@ -1,9 +1,15 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+import { createPinia, PiniaVuePlugin } from 'pinia'
+
 import App from './App.vue'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
+Vue.use(PiniaVuePlugin)
 
-app.use(createPinia())
+const app = new Vue({
+  pinia: createPinia(),
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index fda1e6e3e6dc4f11e7f23d3e187d4d541276940f..bbcfd4ffd15196ee3b5ce8eb5a11a0673ca346d1 100644 (file)
@@ -1,12 +1,17 @@
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+import { createPinia, PiniaVuePlugin } from 'pinia'
 
 import App from './App.vue'
 import router from './router'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
+Vue.use(PiniaVuePlugin)
 
-app.use(createPinia())
-app.use(router)
+const app = new Vue({
+  router,
+  pinia: createPinia(),
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index c8e37b03b9c2289ea08f80feeca1880e2abc3a86..cc1d0fb797765afa49efc38776876ff9162150f4 100644 (file)
@@ -1,9 +1,14 @@
-import { createApp } from 'vue'
+import Vue from 'vue'
+import VueCompositionAPI from '@vue/composition-api'
+
 import App from './App.vue'
 import router from './router'
 
-const app = createApp(App)
+Vue.use(VueCompositionAPI)
 
-app.use(router)
+const app = new Vue({
+  router,
+  render: (h) => h(App)
+})
 
-app.mount('#app')
+app.$mount('#app')
index 03b32c1c4b56e97f4b080fb6c3b6664de9b6c19b..eed1964aeb789d1bf380e7ef13638a95fcc26ee9 100644 (file)
@@ -18,7 +18,7 @@ export default function generateReadme({
 }) {
   let readme = `# ${projectName}
 
-This template should help get you started developing with Vue 3 in Vite.
+This template should help get you started developing with Vue 2 in Vite.
 
 ## Recommended IDE Setup