Use vite Docs:https://vitejs.dev/guide/#trying-vite-online
$ npm create vite@latest
$ npm i
$ npm start
Open http://localhost:9901/ with your browser to see the result.
You can start editing the page by modifying src/main.tsx
. The page auto-updates as you edit the file.
src/main.jsx <- src/App.jsx <- clock component <- pointer component
main.jsx : initialize global style App.jsx : wrap all the components as a container, and style the container clock : build clock component pointer : build pointer component ClockPointer ClockCenter HourPointer MinutePointer SecondPointer