Skip to content

Commit

Permalink
chore: update vue version + update test case for aliased asset
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 28, 2022
1 parent 42b0851 commit 31f9365
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@
"unbuild": "^0.7.4",
"vite": "^2.9.12",
"vitest": "^0.15.1",
"vue": "^2.7.0-beta.3"
"vue": "^2.7.0-beta.8"
}
}
2 changes: 1 addition & 1 deletion playground/test-assets/TestAssets.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default {
</p>
<p>
Alias asset reference in template:
<img src="/@/test-assets/nested/testAssets.png" style="width: 30px;">
<img src="@/test-assets/nested/testAssets.png" style="width: 30px;">
</p>
<p>
Absolute asset reference in template:
Expand Down
2 changes: 1 addition & 1 deletion playground/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import vue from '../src/index'
const config = defineConfig({
resolve: {
alias: {
'/@': __dirname
'@': __dirname
}
},
build: {
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 31f9365

Please sign in to comment.