{post.title}
-{post.body}
-{post.body}
-{post.body}
-{post.body}
-Hello Vite + React!
-- -
-
- Edit
- {' '}
- App.tsx
- {' '}
- and save to test HMR updates.
-
- - Learn React - - {' | '} - - Vite Docs - -
-hello world
- diff --git a/examples/ruby/config/vite.json b/examples/ruby/config/vite.json deleted file mode 100644 index 0a39e9179ca4..000000000000 --- a/examples/ruby/config/vite.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "all": { - "sourceCodeDir": "", - "watchAdditionalPaths": [] - }, - "development": { - "autoBuild": true, - "host": "127.0.0.1", - "publicOutputDir": "vite-development", - "port": 3036 - }, - "test": { - "autoBuild": true, - "host": "127.0.0.1", - "publicOutputDir": "vite-test" - } -} diff --git a/examples/ruby/package.json b/examples/ruby/package.json deleted file mode 100644 index dbde603bec20..000000000000 --- a/examples/ruby/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "@vitest/example-ruby", - "type": "module", - "private": true, - "license": "MIT", - "main": "index.js", - "scripts": { - "test": "vitest", - "test:run": "vitest run" - }, - "devDependencies": { - "@vitejs/plugin-vue": "latest", - "@vue/test-utils": "latest", - "jsdom": "latest", - "vite": "latest", - "vite-plugin-ruby": "^3.2.2", - "vitest": "latest", - "vue": "latest" - }, - "stackblitz": { - "startCommand": "npm run test" - } -} diff --git a/examples/ruby/test/components/Test.spec.ts b/examples/ruby/test/components/Test.spec.ts deleted file mode 100644 index d12cf93af4dd..000000000000 --- a/examples/ruby/test/components/Test.spec.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { mount } from '@vue/test-utils' -import { describe, expect, it } from 'vitest' -import Test from '../../components/Test.component.vue' - -describe('CoachInboxItem', () => { - it('renders', () => { - const wrapper = mount(Test) - - expect(wrapper.html()).toContain('hello world') - }) -}) diff --git a/examples/ruby/vite.config.js b/examples/ruby/vite.config.js deleted file mode 100644 index d92e94dd8ebd..000000000000 --- a/examples/ruby/vite.config.js +++ /dev/null @@ -1,10 +0,0 @@ -import { defineConfig } from 'vite' -import ViteRuby from 'vite-plugin-ruby' -import Vue from '@vitejs/plugin-vue' - -export default defineConfig({ - plugins: [Vue(), ViteRuby()], - test: { - environment: 'jsdom', - }, -}) diff --git a/examples/svelte/components/Hello.svelte b/examples/svelte/components/Hello.svelte deleted file mode 100644 index 7ee298b06220..000000000000 --- a/examples/svelte/components/Hello.svelte +++ /dev/null @@ -1,7 +0,0 @@ - -