Skip to content

Commit af188b0

Browse files
committed
feat: boostrap viewer-render project
Related to #1166
1 parent 3e80d1c commit af188b0

13 files changed

+420
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ node_modules
55
test-results/
66
playwright-report/
77
playwright/.cache/
8+
lerna-debug.log

package-lock.json

+276
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
"typescript": "^5.4.5",
130130
"vite": "^5.2.10",
131131
"vitest": "^1.5.3",
132+
"@preact/preset-vite": "^2.8.2",
132133
"webpack": "^5.91.0"
133134
}
134135
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { foo } from './src/index.js';
2+
import { Fragment } from 'preact';
3+
4+
const RenderPlayground = () => {
5+
return <Fragment>{foo()}</Fragment>;
6+
};
7+
8+
export { RenderPlayground };

0 commit comments

Comments
 (0)