Skip to content

Commit

Permalink
Merge pull request #373 from PrestaShopCorp/update-readme
Browse files Browse the repository at this point in the history
docs: update readme
  • Loading branch information
mattgoud committed Sep 16, 2024
2 parents 852ff1d + 3a94535 commit 911c819
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion playground/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ Since TypeScript cannot handle type information for `.vue` imports, they are shi

The Playground is a test application built on Vue3 and Vue Router. To use it, follow the steps below:

1. **Copy the example files**: The files `/src/views/VueComponentsViewExample.vue` and `/src/views/WebComponentsViewExample.vue` are example views that you can use as a starting point. Copy each of these files.
1. **Copy the example files**: The files `/src/views/VueComponentsViewExample.vue`, `/src/views/WebComponentsViewExample.vue` and `/src/AppExample.vue` are example views that you can use as a starting point. Copy each of these files.

2. **Rename the copied files**: Rename the copied example files by removing `Example` from their name. The files should be renamed as follows to match vue router configuration:
- `/src/views/VueComponentsViewExample.vue` becomes `/src/views/VueComponentsView.vue`
- `/src/views/WebComponentsViewExample.vue` becomes `/src/views/WebComponentsView.vue`
- `/src/AppExample.vue` becomes `/src/App.vue`

3. **Modify the copied files**: Make the necessary modifications to the copied files based on your specific needs for the Playground.

4. **Run**: `pnpm build` to update the css packages before run the project.

0 comments on commit 911c819

Please sign in to comment.