Skip to content

Commit

Permalink
Merge pull request #13 from Carifio24/update-props-name
Browse files Browse the repository at this point in the history
Update setup script to rename component props
  • Loading branch information
Carifio24 authored Dec 11, 2024
2 parents f35c406 + 3ce14bd commit fbf682b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ title=$(space_split_pascal ${pascal_case_name})

cd src
sed -i.bak "s/MainComponent/${pascal_case_name}/g" main.ts
sed -i.bak "s/MainComponent/${pascal_case_name}/g" MainComponent.vue
sed -i.bak "s/wwt-minids-template/$name/g" main.ts
rm -f main.ts.bak
mv MainComponent.vue ${pascal_case_name}.vue
Expand Down

0 comments on commit fbf682b

Please sign in to comment.