feat(navigation): 添加 Demo 页面路由和组件
- 在 Layout 组件中添加了 Demo 页面的导航链接 - 在主路由中增加了 /demo 路径的路由 - 新增了 ComponentsDemo 组件用于 Demo 页面显示
This commit is contained in:
9
src/pages/ComponentsDemo.tsx
Normal file
9
src/pages/ComponentsDemo.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Component } from 'solid-js';
|
||||
|
||||
const ComponentsDemo: Component = () => {
|
||||
return (
|
||||
<div class="workspace flex flex-col items-stretch gap-2 rounded-sm bg-swatch-neutral-20"></div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ComponentsDemo;
|
Reference in New Issue
Block a user