2023-03-30 08:50:33 +00:00
|
|
|
# ROSWebTemplate
|
|
|
|
|
2023-03-30 08:56:30 +00:00
|
|
|
This template should help get you started developing with Vue 3 and ROS2.
|
2023-03-30 08:50:33 +00:00
|
|
|
|
2023-03-30 08:56:30 +00:00
|
|
|
## Dependencies
|
|
|
|
- rosbridge_suite: http://wiki.ros.org/rosbridge_suite
|
|
|
|
- ROS 2 (foxy or humble)
|
|
|
|
- npm
|
2023-03-30 08:50:33 +00:00
|
|
|
## Project Setup
|
|
|
|
|
|
|
|
```sh
|
|
|
|
npm install
|
|
|
|
```
|
|
|
|
|
|
|
|
### Compile and Hot-Reload for Development
|
|
|
|
|
|
|
|
```sh
|
|
|
|
npm run dev
|
|
|
|
```
|
|
|
|
|
|
|
|
### Type-Check, Compile and Minify for Production
|
|
|
|
|
|
|
|
```sh
|
|
|
|
npm run build
|
|
|
|
```
|
|
|
|
|
|
|
|
### Run Unit Tests with [Vitest](https://vitest.dev/)
|
|
|
|
|
|
|
|
```sh
|
|
|
|
npm run test:unit
|
|
|
|
```
|
|
|
|
|
|
|
|
### Lint with [ESLint](https://eslint.org/)
|
|
|
|
|
|
|
|
```sh
|
|
|
|
npm run lint
|
|
|
|
```
|