Skip to content

Commit bf24d34

Browse files
committed
add vite-only playground
1 parent df30783 commit bf24d34

28 files changed

+400
-10
lines changed

.vscode/launch.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,47 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7+
{
8+
"name": "sandbox:vite:dev",
9+
"program": "${workspaceFolder}/node_modules/.bin/vite",
10+
"args": [
11+
"-c",
12+
"${workspaceFolder}/playground/sandbox/vite.config.js"
13+
],
14+
"request": "launch",
15+
"skipFiles": [
16+
"<node_internals>/**"
17+
],
18+
"type": "node",
19+
"cwd": "${workspaceFolder}/playground/sandbox",
20+
"env": {
21+
"NODE_ENV": "development"
22+
},
23+
"outFiles": [
24+
"${workspaceFolder}/node_modules/vite-plugin-symfony/dist/*.js"
25+
]
26+
},
27+
{
28+
"name": "sandbox:vite:build",
29+
"program": "${workspaceFolder}/node_modules/.bin/vite",
30+
"args": [
31+
"build",
32+
"-c",
33+
"${workspaceFolder}/playground/sandbox/vite.config.js"
34+
],
35+
"request": "launch",
36+
"skipFiles": [
37+
"<node_internals>/**"
38+
],
39+
"type": "node",
40+
"cwd": "${workspaceFolder}/playground/sandbox",
41+
"env": {
42+
"NODE_ENV": "development"
43+
},
44+
"outFiles": [
45+
"${workspaceFolder}/extra/vite-plugin-symfony/dist/*.js"
46+
]
47+
},
748
{
849
"name": "Vite dev",
950
"program": "${workspaceFolder}/node_modules/.bin/vite",
207 KB
Loading
68.5 KB
Loading

playground/vite-only/assets/images/topography.svg

Lines changed: 1 addition & 0 deletions
Loading
129 KB
Loading
40 KB
Loading
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<template>
2+
<div>
3+
Hello Vue
4+
</div>
5+
</template>
6+
7+
<script>
8+
export default {
9+
10+
}
11+
</script>
12+
13+
<style lang="scss" scoped>
14+
15+
</style>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
console.log('async dep')
2+
export const msg = 'async dep';

0 commit comments

Comments
 (0)