- ลิสต์ของที่ยืมอยู่ / รออนุมัติ
- เลือกโครงการ
- ลิสต์ของในโครงการ
- ประวัติ / สถานะการยืม
- อนุมัติการยืม
- crud พัสดุ
- crud โครงการ
- list my project
- list my borrowing
- approve
Once you've created a project and installed dependencies with bun install, start a development server:
bun run dev
# or start the server and open the app in a new browser tab
bun run dev -- --openTo develop components, we use Storybook. You can start the Storybook server with:
bun run storybookThis will allow you to develop and test your components in isolation at http://localhost:6006.
To create a new component, run the following command:
bun storybook:new <ComponentName>This will create a new component in the src/stories directory with the necessary files and boilerplate code.
Sometime you may want to add a sub component to an existing component. Dialog header is a good example of this. To add a sub component, run the following command:
bun storybook:addAfter follow the prompt, it will create a new sub component in the src/stories/<ComponentName> directory with the necessary files and boilerplate code.
To create a production version of your app:
bun run buildYou can preview the production build with bun run preview.
To deploy your app, you may need to install an adapter for your target environment.