]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
chore: update playground
authorHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 24 Nov 2021 11:05:45 +0000 (19:05 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 24 Nov 2021 11:05:45 +0000 (19:05 +0800)
Next time, dependency maintenance commits should also regenerate the
playground packages. Otherwise the CI will fail due to lockfile
inconsistencies.

80 files changed:
playground/default/package.json
playground/default/vite.config.js
playground/jsx-router-vuex-with-tests/package.json
playground/jsx-router-vuex-with-tests/src/App.vue
playground/jsx-router-vuex-with-tests/vite.config.js
playground/jsx-router-vuex/package.json
playground/jsx-router-vuex/src/App.vue
playground/jsx-router-vuex/vite.config.js
playground/jsx-router-with-tests/package.json
playground/jsx-router-with-tests/src/App.vue
playground/jsx-router-with-tests/vite.config.js
playground/jsx-router/package.json
playground/jsx-router/src/App.vue
playground/jsx-router/vite.config.js
playground/jsx-vuex-with-tests/package.json
playground/jsx-vuex-with-tests/vite.config.js
playground/jsx-vuex/package.json
playground/jsx-vuex/vite.config.js
playground/jsx-with-tests/package.json
playground/jsx-with-tests/vite.config.js
playground/jsx/package.json
playground/jsx/vite.config.js
playground/router-vuex-with-tests/package.json
playground/router-vuex-with-tests/src/App.vue
playground/router-vuex-with-tests/vite.config.js
playground/router-vuex/package.json
playground/router-vuex/src/App.vue
playground/router-vuex/vite.config.js
playground/router-with-tests/package.json
playground/router-with-tests/src/App.vue
playground/router-with-tests/vite.config.js
playground/router/package.json
playground/router/src/App.vue
playground/router/vite.config.js
playground/typescript-jsx-router-vuex-with-tests/package.json
playground/typescript-jsx-router-vuex-with-tests/src/App.vue
playground/typescript-jsx-router-vuex-with-tests/vite.config.ts
playground/typescript-jsx-router-vuex/package.json
playground/typescript-jsx-router-vuex/src/App.vue
playground/typescript-jsx-router-vuex/vite.config.ts
playground/typescript-jsx-router-with-tests/package.json
playground/typescript-jsx-router-with-tests/src/App.vue
playground/typescript-jsx-router-with-tests/vite.config.ts
playground/typescript-jsx-router/package.json
playground/typescript-jsx-router/src/App.vue
playground/typescript-jsx-router/vite.config.ts
playground/typescript-jsx-vuex-with-tests/package.json
playground/typescript-jsx-vuex-with-tests/vite.config.ts
playground/typescript-jsx-vuex/package.json
playground/typescript-jsx-vuex/vite.config.ts
playground/typescript-jsx-with-tests/package.json
playground/typescript-jsx-with-tests/vite.config.ts
playground/typescript-jsx/package.json
playground/typescript-jsx/vite.config.ts
playground/typescript-router-vuex-with-tests/package.json
playground/typescript-router-vuex-with-tests/src/App.vue
playground/typescript-router-vuex-with-tests/vite.config.ts
playground/typescript-router-vuex/package.json
playground/typescript-router-vuex/src/App.vue
playground/typescript-router-vuex/vite.config.ts
playground/typescript-router-with-tests/package.json
playground/typescript-router-with-tests/src/App.vue
playground/typescript-router-with-tests/vite.config.ts
playground/typescript-router/package.json
playground/typescript-router/src/App.vue
playground/typescript-router/vite.config.ts
playground/typescript-vuex-with-tests/package.json
playground/typescript-vuex-with-tests/vite.config.ts
playground/typescript-vuex/package.json
playground/typescript-vuex/vite.config.ts
playground/typescript-with-tests/package.json
playground/typescript-with-tests/vite.config.ts
playground/typescript/package.json
playground/typescript/vite.config.ts
playground/vuex-with-tests/package.json
playground/vuex-with-tests/vite.config.js
playground/vuex/package.json
playground/vuex/vite.config.js
playground/with-tests/package.json
playground/with-tests/vite.config.js

index 16efc3b9948ba35eaf30218993d5e3ae9c8b8f36..0a39012596be9c733e28df6fb3da684815b2bd6b 100644 (file)
@@ -10,7 +10,7 @@
     "vue": "^3.2.22"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "vite": "^2.6.14"
   }
 }
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index ecda8346804ffeef28941c149bb578ec5d933ed5..af14d4ac068745a8a69a019bac77bd9ec89a8676 100644 (file)
@@ -7,8 +7,8 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'"
+    "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",
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@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"
index fe3afbf613ab53a6f7ad3acb1b38354053bad285..37edbaf4e3a02bc143496d03502d1b1cdc9101c1 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 7e47fd0226a972a724c81becd52fb17b0ca078f4..730fde2c6161865e27a8a29ca9bf92f8ed935cbc 100644 (file)
@@ -12,8 +12,8 @@
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@vitejs/plugin-vue": "^1.10.0",
+    "@vitejs/plugin-vue-jsx": "^1.3.0",
     "vite": "^2.6.14"
   }
 }
index fe3afbf613ab53a6f7ad3acb1b38354053bad285..37edbaf4e3a02bc143496d03502d1b1cdc9101c1 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 20af05752230134a68d6b1f0da901264185b22a0..124dd6b40de008b3eac66958c0e308406160b6b2 100644 (file)
@@ -7,18 +7,18 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'"
+    "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.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@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"
index fe3afbf613ab53a6f7ad3acb1b38354053bad285..37edbaf4e3a02bc143496d03502d1b1cdc9101c1 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 4278d45ef5cbedbf6fc7bf017b8ecdff5145ccc5..7281e7e6b894fed5ab2163b9f7e9b90634aaba0b 100644 (file)
@@ -11,8 +11,8 @@
     "vue-router": "^4.0.12"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@vitejs/plugin-vue": "^1.10.0",
+    "@vitejs/plugin-vue-jsx": "^1.3.0",
     "vite": "^2.6.14"
   }
 }
index fe3afbf613ab53a6f7ad3acb1b38354053bad285..37edbaf4e3a02bc143496d03502d1b1cdc9101c1 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 49fabeb7cf88c0105f5b37596986b9187588b7cc..a27fe2d8000dc07ccfaf560ade794e92c9a60bde 100644 (file)
@@ -7,18 +7,18 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'"
+    "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",
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@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"
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index c1cbe4e9e094b2672ff30c069680227b9c98e856..cbd7572e90d3ecc3567d3de453c664c58e0d6b95 100644 (file)
@@ -11,8 +11,8 @@
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@vitejs/plugin-vue": "^1.10.0",
+    "@vitejs/plugin-vue-jsx": "^1.3.0",
     "vite": "^2.6.14"
   }
 }
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 1e79dcf7a1329e1440e53573ff4d6d7af302b9c2..740b9bcb38888c6f0f5607aae19ed34486addbdd 100644 (file)
@@ -7,17 +7,17 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'"
+    "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.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@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"
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 67c863a37203904cfa26fc0179cda7cdda626c0a..95ca2e198088e38b7a92ac40d4ec0efd33d2dd5f 100644 (file)
@@ -10,8 +10,8 @@
     "vue": "^3.2.22"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@vitejs/plugin-vue": "^1.10.0",
+    "@vitejs/plugin-vue-jsx": "^1.3.0",
     "vite": "^2.6.14"
   }
 }
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index bcc5a9845c0d2160d28e651f3b38946b201b1e09..487008d4467a045c947cf67ace2cfc5cbb58fb8f 100644 (file)
@@ -7,8 +7,8 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'"
+    "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",
@@ -16,9 +16,9 @@
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
     "vite": "^2.6.14"
index fe3afbf613ab53a6f7ad3acb1b38354053bad285..37edbaf4e3a02bc143496d03502d1b1cdc9101c1 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 05978c8e359088643fa7b06a05fb38038e9c4bf5..c62ffb824c44af855b5c2f557fd1e3a41673011c 100644 (file)
@@ -12,7 +12,7 @@
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "vite": "^2.6.14"
   }
 }
index fe3afbf613ab53a6f7ad3acb1b38354053bad285..37edbaf4e3a02bc143496d03502d1b1cdc9101c1 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 5439de9fead6c8a216317895b8c6a8bc2978d099..a09b53853593d367aae6a86c9f61f6d07df06ab5 100644 (file)
@@ -7,17 +7,17 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'"
+    "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.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
     "vite": "^2.6.14"
index fe3afbf613ab53a6f7ad3acb1b38354053bad285..37edbaf4e3a02bc143496d03502d1b1cdc9101c1 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index c83d0c66bc88611b0905cf3ab2693426f0bb6c60..8fc1c17b92e0eddfe06b7fa3fe4502d1cf43931b 100644 (file)
@@ -11,7 +11,7 @@
     "vue-router": "^4.0.12"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "vite": "^2.6.14"
   }
 }
index fe3afbf613ab53a6f7ad3acb1b38354053bad285..37edbaf4e3a02bc143496d03502d1b1cdc9101c1 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index b1fee4afdf5f74206d13b79a987ed4ebc799cc9d..1fb734821916da84c2c969e533b5f4aeff3e71b9 100644 (file)
@@ -7,8 +7,8 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'",
+    "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": {
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@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.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 36ae7808a4f5b75ce47762c3fce0da451d04fd07..8a1e9b196ed79b4cb5e69eb4ef7f54fa049683dc 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index b19753c100909c13cdb2e058329f42629db1d984..f40309638f6909ad523c723a4a52082d56b7fea6 100644 (file)
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@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.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 36ae7808a4f5b75ce47762c3fce0da451d04fd07..8a1e9b196ed79b4cb5e69eb4ef7f54fa049683dc 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index b98223cff950df12a3d61b8996369ca3f6221a7b..8412d23c4135da10f9eff59cc29a512d6afa1cc1 100644 (file)
@@ -7,8 +7,8 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'",
+    "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-router": "^4.0.12"
   },
   "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@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.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 36ae7808a4f5b75ce47762c3fce0da451d04fd07..8a1e9b196ed79b4cb5e69eb4ef7f54fa049683dc 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index bfb38519cb5f4507a73aaa3ac96a225fa3ab9e3d..f9616b673966dac1b072e6ca2c5eb01291c29e93 100644 (file)
     "vue-router": "^4.0.12"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@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.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 36ae7808a4f5b75ce47762c3fce0da451d04fd07..8a1e9b196ed79b4cb5e69eb4ef7f54fa049683dc 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 0d4dd54d6dbe568c680fc09daeffab0dbb47af96..ee9590145f3b9944e61f307b1a8b4c939b63bd49 100644 (file)
@@ -7,8 +7,8 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'",
+    "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": {
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@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.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index d25d0f7b3e56b77c7b2e4f8b8f139a192bb53683..5e98c4ab6ac29b77ec753a37b907df5761b09bf4 100644 (file)
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@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.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 1ce40012dacd55ca017a643e6cf808d98e75436e..94e29334e6b43b34a3b702e60e6f0f87852664b6 100644 (file)
@@ -7,22 +7,22 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'",
+    "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.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@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.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 32fb6716aae7b61f55f75831a3dd4924ce382f62..76fdc4475c6e3b88194feb7cfab2328352fa3d67 100644 (file)
     "vue": "^3.2.22"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
-    "@vitejs/plugin-vue-jsx": "^1.2.0",
+    "@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.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 032e163cf57f312792c106d417534e89491a0727..5be11429b59a890e621b08c83c6b61f4d203eb90 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 import vueJsx from '@vitejs/plugin-vue-jsx'
@@ -7,7 +9,7 @@ export default defineConfig({
   plugins: [vue(), vueJsx()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index b055042d592e0523274dcafc50bfef13c74492b8..454b92d485d6a775988c526c1d77d9193676e188 100644 (file)
@@ -7,8 +7,8 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'",
+    "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": {
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
     "typescript": "~4.4.4",
     "vite": "^2.6.14",
-    "vue-tsc": "^0.29.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 36ae7808a4f5b75ce47762c3fce0da451d04fd07..8a1e9b196ed79b4cb5e69eb4ef7f54fa049683dc 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 9d9170a53b56ebc0165a94b30a800d843bc40d16..441b6eb077d9f9fb4f218e95619a25b737988fbd 100644 (file)
@@ -13,9 +13,9 @@
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "typescript": "~4.4.4",
     "vite": "^2.6.14",
-    "vue-tsc": "^0.29.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 36ae7808a4f5b75ce47762c3fce0da451d04fd07..8a1e9b196ed79b4cb5e69eb4ef7f54fa049683dc 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index f4abf9f3c599f3dd23cb26915b2f2b4762641ca2..d84402afc2106140219d7535c2c6f27b13381372 100644 (file)
@@ -7,8 +7,8 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'",
+    "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-router": "^4.0.12"
   },
   "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
     "typescript": "~4.4.4",
     "vite": "^2.6.14",
-    "vue-tsc": "^0.29.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 36ae7808a4f5b75ce47762c3fce0da451d04fd07..8a1e9b196ed79b4cb5e69eb4ef7f54fa049683dc 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index ea86c30db31692e93e68092d5ebb1661ca869cbe..61a4d6eedab1f72b3832ec97f1b6c18273b42eba 100644 (file)
@@ -12,9 +12,9 @@
     "vue-router": "^4.0.12"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "typescript": "~4.4.4",
     "vite": "^2.6.14",
-    "vue-tsc": "^0.29.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 36ae7808a4f5b75ce47762c3fce0da451d04fd07..8a1e9b196ed79b4cb5e69eb4ef7f54fa049683dc 100644 (file)
@@ -9,10 +9,10 @@ import HelloWorld from '@/components/HelloWorld.vue'
     <div class="wrapper">
       <HelloWorld msg="You did it!" />
 
-      <div id="nav">
+      <nav>
         <router-link to="/">Home</router-link>
         <router-link to="/about">About</router-link>
-      </div>
+      </nav>
     </div>
   </header>
 
@@ -53,28 +53,28 @@ a,
   }
 }
 
-#nav {
+nav {
   width: 100%;
   font-size: 12px;
   text-align: center;
   margin-top: 2rem;
 }
 
-#nav a.router-link-exact-active {
+nav a.router-link-exact-active {
   color: var(--color-text);
 }
 
-#nav a.router-link-exact-active:hover {
+nav a.router-link-exact-active:hover {
   background-color: transparent;
 }
 
-#nav a {
+nav a {
   display: inline-block;
   padding: 0 1rem;
   border-left: 1px solid var(--color-border);
 }
 
-#nav a:first-of-type {
+nav a:first-of-type {
   border: 0;
 }
 
@@ -106,7 +106,7 @@ a,
     margin: 0 2rem 0 0;
   }
 
-  #nav {
+  nav {
     text-align: left;
     margin-left: -1rem;
     font-size: 1rem;
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 690cc484c485036e74569a0e6e94b323838bd27d..4080179c232434f134ef9309c154e4ae1eb30b5f 100644 (file)
@@ -7,8 +7,8 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'",
+    "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": {
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
     "typescript": "~4.4.4",
     "vite": "^2.6.14",
-    "vue-tsc": "^0.29.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 2a21dd747f4da4c703cba4eada1e49aae18b7354..97d665857db65847155bee046becd420e454a81f 100644 (file)
@@ -12,9 +12,9 @@
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "typescript": "~4.4.4",
     "vite": "^2.6.14",
-    "vue-tsc": "^0.29.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 1aa7df0d5fc4873f6edbb3c038b4988a168051c9..059df355617d6cae482a62f8ab34a59f2d4697ad 100644 (file)
@@ -7,21 +7,21 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'",
+    "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.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
     "typescript": "~4.4.4",
     "vite": "^2.6.14",
-    "vue-tsc": "^0.29.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 33374b2f3d71f3997aef5ab9cc229c0e681f4398..c11c89a69ec480924e2e124758474210c7de0e3f 100644 (file)
@@ -11,9 +11,9 @@
     "vue": "^3.2.22"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "typescript": "~4.4.4",
     "vite": "^2.6.14",
-    "vue-tsc": "^0.29.5"
+    "vue-tsc": "^0.29.6"
   }
 }
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index c5ed9ea6fd79624c7b38f28e7b1f144fe4b7fbaf..880081a96b46b09c87562edb7f833b5d88d50f82 100644 (file)
@@ -7,17 +7,17 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'"
+    "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",
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@cypress/vite-dev-server": "^2.2.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
     "vite": "^2.6.14"
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index 713fd87982701907e2719a2676c3895210f61614..0567cc2c5d410d7c49140514b7c1775e90485acf 100644 (file)
@@ -11,7 +11,7 @@
     "vuex": "^4.0.2"
   },
   "devDependencies": {
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "vite": "^2.6.14"
   }
 }
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })
index a08d5670e2eb8d8d3555e1de474484b9ef92871a..4c32f83ab6eabfb74c241c9ee369469c5e37dbca 100644 (file)
@@ -7,16 +7,16 @@
     "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 5050 'cypress open'",
-    "test:e2e:ci": "start-server-and-test preview 5050 'cypress run'"
+    "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.0",
+    "@cypress/vite-dev-server": "^2.2.1",
     "@cypress/vue": "^3.0.5",
-    "@vitejs/plugin-vue": "^1.9.4",
+    "@vitejs/plugin-vue": "^1.10.0",
     "cypress": "^8.7.0",
     "start-server-and-test": "^1.14.0",
     "vite": "^2.6.14"
index 24c2e504741f170ece3d9b0eb26670c3d7c90ecd..6ff2d33a296373976240761ba35755b44644f3d2 100644 (file)
@@ -1,3 +1,5 @@
+import { fileURLToPath } from 'url'
+
 import { defineConfig } from 'vite'
 import vue from '@vitejs/plugin-vue'
 
@@ -6,7 +8,7 @@ export default defineConfig({
   plugins: [vue()],
   resolve: {
     alias: {
-      '@/': new URL('./src/', import.meta.url).pathname
+      '@/': fileURLToPath(new URL('./src/', import.meta.url))
     }
   }
 })