"vue": "^3.2.22"
},
"devDependencies": {
- "@vitejs/plugin-vue": "^1.9.4",
+ "@vitejs/plugin-vue": "^1.10.0",
"vite": "^2.6.14"
}
}
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"vuex": "^4.0.2"
},
"devDependencies": {
- "@vitejs/plugin-vue": "^1.9.4",
+ "@vitejs/plugin-vue": "^1.10.0",
"vite": "^2.6.14"
}
}
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"vue-router": "^4.0.12"
},
"devDependencies": {
- "@vitejs/plugin-vue": "^1.9.4",
+ "@vitejs/plugin-vue": "^1.10.0",
"vite": "^2.6.14"
}
}
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
plugins: [vue(), vueJsx()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
<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>
}
}
-#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;
}
margin: 0 2rem 0 0;
}
- #nav {
+ nav {
text-align: left;
margin-left: -1rem;
font-size: 1rem;
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
}
}
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"vuex": "^4.0.2"
},
"devDependencies": {
- "@vitejs/plugin-vue": "^1.9.4",
+ "@vitejs/plugin-vue": "^1.10.0",
"vite": "^2.6.14"
}
}
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})
"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"
+import { fileURLToPath } from 'url'
+
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
plugins: [vue()],
resolve: {
alias: {
- '@/': new URL('./src/', import.meta.url).pathname
+ '@/': fileURLToPath(new URL('./src/', import.meta.url))
}
}
})