Skip to content

Commit

Permalink
reorganize dir
Browse files Browse the repository at this point in the history
  • Loading branch information
L23de committed Jan 20, 2022
1 parent 17f4512 commit 981cb37
Show file tree
Hide file tree
Showing 18 changed files with 1,417 additions and 1,816 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Vue 3 + Typescript + Vite
# l23de.github.io

This template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
My personal website!

## Recommended IDE Setup
Get to know me and be sure to leave any suggestions in the Github Issues pane

- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)
## Installation

## Type Support For `.vue` Imports in TS
```bash
yarn # Installs dependencies
yarn dev # Runs a local server to serve the website
```

Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can enable Volar's `.vue` type support plugin by running `Volar: Switch TS Plugin on/off` from VSCode command palette.
The website should be located @ [localhost:3000](http://localhost:3000/) by default
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"build": "vue-tsc --noEmit && vite build && cd dist && cp index.html 404.html && cd ..",
"preview": "vite preview",
"deploy": "yarn build; gh-pages -d dist"
"deploy": "gh-pages -d dist",
"build-deploy": "yarn build && yarn deploy"
},
"dependencies": {
"@quasar/extras": "^1.12.4",
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
1,259 changes: 0 additions & 1,259 deletions public/logo.svg

This file was deleted.

File renamed without changes.
8 changes: 4 additions & 4 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</template>

<script setup lang="ts">
import { ref, onMounted, computed } from 'vue'
import { ref, onMounted, computed, defineComponent } from 'vue'
onMounted(() => {
const nav: Element = document.querySelector('.nav')!;
Expand All @@ -46,13 +46,13 @@ onMounted(() => {
</script>

<script lang="ts">
export default {
export default defineComponent({
computed: {
splashPage() {
splashPage(): boolean {
return this.$route.path == '/';
}
}
}
})
</script>

<style lang="scss">
Expand Down
2 changes: 1 addition & 1 deletion src/components/WorkExperience.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { PropType } from 'vue';
interface posConfig {
title: string,
dates: string,
desc: string,
desc: Array<string>,
skills: Array<string>
}
Expand Down
2 changes: 1 addition & 1 deletion src/content/work/jhu.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"company": "JHU Engineering Innovation",
"website": "https://ei.jhu.edu/",
"logo_src": "/src/content/images/jhu.png",
"logo_src": "/images/jhu.png",
"positions": [
{
"title": "Summer Program Participant",
Expand Down
2 changes: 1 addition & 1 deletion src/content/work/lehigh.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"company": "Lehigh University",
"website": "https://www1.lehigh.edu/",
"logo_src": "/src/content/images/lehigh.png",
"logo_src": "/images/lehigh.png",
"positions": [
{
"title": "Junior Systems Administrator",
Expand Down
2 changes: 1 addition & 1 deletion src/content/work/mm.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"company": "Millennium Management",
"website": "https://www.mlp.com/",
"logo_src": "/src/content/images/mm.png",
"logo_src": "/images/mm.png",
"positions": [
{
"title": "Incoming Quality Assurance Analyst Intern",
Expand Down
2 changes: 1 addition & 1 deletion src/content/work/optum.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"company": "Optum",
"website": "https://www.optum.com/",
"logo_src": "/src/content/images/optum.png",
"logo_src": "/images/optum.png",
"positions": [
{
"title": "Software Engineer Intern",
Expand Down
Loading

0 comments on commit 981cb37

Please sign in to comment.