Skip to content

Commit

Permalink
Some updates to try to get this functional.
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrello committed Dec 6, 2024
1 parent 3cdc52c commit 4ae56bc
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions browser/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@
</template>

<style lang="scss">
@import "node_modules/uids/src/assets/scss/reset.scss";
@import "node_modules/uids/src/components/logo/logo.scss";
@import "node_modules/uids/src/components/brand-bar/brand-bar.scss";
@import "node_modules/uids/src/components/button/button.scss";
@import "~/src/scss/components/top-menu.scss";
@import "node_modules/uids/src/scss/base/_reset.scss";
@import "node_modules/uids/src/scss/components/logo.scss";
@import "node_modules/uids/src/scss/components/brand-bar.scss";
@import "node_modules/uids/src/scss/components/button.scss";
@import "./scss/components/top-menu.scss";
body {
margin: 0;
Expand Down Expand Up @@ -239,7 +239,7 @@ main {
import { ref, computed, onUpdated } from "vue";
import { useRoute, useRouter } from "vue-router";
import { UidsBrandBar, UidsButton } from "uids";
import iconsData from "/node_modules/uiowa-brand-icons/icons.json";
import iconsData from "../../icons.json";
import CategoryList from "@/components/CategoryList.vue";
import IconList from "@/components/IconList.vue";
import IconModal from "@/components/IconModal.vue";
Expand Down
4 changes: 2 additions & 2 deletions browser/src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import HomeView from "../views/HomeView.vue";
import CategoryView from "../views/CategoryView.vue";
import SearchView from "../views/SearchView.vue";
import NotFoundView from "../views/NotFoundView.vue";
import catData from "/node_modules/uiowa-brand-icons/categories.json";
import iconsData from "/node_modules/uiowa-brand-icons/icons.json";
import catData from "../../../categories.json";
import iconsData from "../../../icons.json";

const categories = catData.categories;
const icons = iconsData.icons;
Expand Down
4 changes: 2 additions & 2 deletions browser/src/views/CategoryView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import IconList from "@/components/IconList.vue";
// import getCats from '../composables/getCats.js'
import { ref, computed, onUpdated } from "vue";
import { useRoute, useRouter } from "vue-router";
import catData from "/node_modules/uiowa-brand-icons/categories.json";
import iconsData from "/node_modules/uiowa-brand-icons/icons.json";
import catData from "../../../categories.json";
import iconsData from "../../../icons.json";
const route = useRoute();
const router = useRouter();
Expand Down
2 changes: 1 addition & 1 deletion browser/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import IconList from "@/components/IconList.vue";
// import getCats from '../composables/getCats.js'
import { ref, computed, onUpdated } from "vue";
import { useRoute, useRouter } from "vue-router";
import iconsData from "/node_modules/uiowa-brand-icons/icons.json";
import iconsData from "../../../icons.json";
const route = useRoute();
Expand Down
4 changes: 2 additions & 2 deletions browser/src/views/SearchView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import IconList from "@/components/IconList.vue";
// import getCats from '../composables/getCats.js'
import { ref, computed, onUpdated } from "vue";
import { useRoute, useRouter } from "vue-router";
import catData from "/node_modules/uiowa-brand-icons/categories.json";
import iconsData from "/node_modules/uiowa-brand-icons/icons.json";
import catData from "../../../categories.json";
import iconsData from "../../../icons.json";
const search = ref("");
const route = useRoute();
Expand Down
2 changes: 1 addition & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"moduleResolution": "node",
"paths": {
"@/*": [
"src/*"
"browser/src/*"
]
},
"lib": [
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
],
"homepage": "https://brand.uiowa.edu",
"scripts": {
"serve": "vue-cli-service serve",
"build-no-icons": "vue-cli-service build",
"build": "node browser/imageBuild.js && vue-cli-service build"
"serve": "vue-cli-service serve browser/src/main.js",
"build-no-icons": "vue-cli-service build browser/src/main.js",
"build": "node browser/imageBuild.js && vue-cli-service build browser/src/main.js"
},
"dependencies": {
"core-js": "^3.8.3",
Expand Down

0 comments on commit 4ae56bc

Please sign in to comment.