Skip to content

Commit

Permalink
Change to setup
Browse files Browse the repository at this point in the history
  • Loading branch information
nnnlog committed Jul 12, 2024
1 parent b109235 commit e233a8a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 28 deletions.
8 changes: 1 addition & 7 deletions src/views/MainView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@
</section>
</template>

<script lang="ts">
import { defineComponent } from "vue";
<script lang="ts" setup>
import MainInformation from "@/components/main/MainInformation.vue";
import MainExperience from "@/components/main/MainExperience.vue";
import MainEducation from "@/components/main/MainEducation.vue";
import MainProjects from "@/components/main/MainProjects.vue";
export default defineComponent({
name: "MainView",
components: { MainProjects, MainEducation, MainExperience, MainInformation },
});
</script>
8 changes: 1 addition & 7 deletions src/views/NotFoundView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,7 @@
</section>
</template>

<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
name: "NotFoundView",
});
</script>
<script lang="ts" setup></script>

<style lang="scss" scoped>
@use "@/styles";
Expand Down
8 changes: 1 addition & 7 deletions src/views/activity/ActivityView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,4 @@
</section>
</template>

<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
name: "ActivityView",
});
</script>
<script lang="ts" setup></script>
8 changes: 1 addition & 7 deletions src/views/project/ProjectView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,4 @@
</section>
</template>

<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
name: "ActivityView",
});
</script>
<script lang="ts" setup></script>

0 comments on commit e233a8a

Please sign in to comment.