Skip to content

Commit

Permalink
fix: vite preview
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklin committed Jul 21, 2024
1 parent 9373735 commit fd5fd66
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
4 changes: 0 additions & 4 deletions apps/admin/.env.development
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# App Environment Variables

NODE_ENV="development"

# Whether to use mock data (true/false)
VITE_USE_MOCK=false

Expand Down
4 changes: 0 additions & 4 deletions apps/admin/.env.production
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# App Environment Variables

NODE_ENV="production"

# Whether to use mock data (true/false)
VITE_USE_MOCK=false

Expand Down
2 changes: 1 addition & 1 deletion apps/admin/src/component/ActionIcon/src/ActionIcon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ withDefaults(
<template>
<ToolTipper :tooltip-text="tooltipText">
<NEl
tag="button" type="button" class="text-[var(--text-color-base)] w-8 h-8 text-base flex items-center justify-center rounded-lg p-2
tag="button" type="button" class="text-[var(--text-color-base)] w-8 h-8 text-base flex items-center justify-center rounded-lg p-2 cursor-pointer
hover:bg-[var(--hover-color)]"
:class="{ 'bg-[var(--action-color)]': !transparent, 'bg-transparent': transparent }"
>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"generate-tree": "pnpm --filter scripts generate-tree",
"clean": "rimraf node_modules **/*/node_modules **/**/*/node_modules **/*/dist **/**/*/dist",
"clear": "rimraf 'packages/*/{lib,node_modules}' && rimraf node_modules",
"preview": "vite preview",
"preview": "run-p preview:admin dev:mock dev:ai-services-openai",
"preview:admin": "pnpm --filter @celeris/admin preview",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "pnpm -r run test",
Expand Down

0 comments on commit fd5fd66

Please sign in to comment.