Skip to content

Commit

Permalink
chore: upgrade to espresso!
Browse files Browse the repository at this point in the history
  • Loading branch information
NagariaHussain committed Sep 16, 2023
1 parent be88089 commit 259c550
Show file tree
Hide file tree
Showing 4 changed files with 207 additions and 221 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"feather-icons": "^4.28.0",
"frappe-ui": "^0.0.107",
"frappe-ui": "^0.1.3",
"vue": "^3.2.25",
"vue-router": "^4.0.12"
},
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
required
name="email"
type="text"
placeholder="faris@main.com"
placeholder="johndoe@email.com"
label="User ID"
/>
<Input
Expand All @@ -16,7 +16,7 @@
placeholder="••••••"
label="Password"
/>
<Button :loading="session.login.loading" appearance="primary"
<Button :loading="session.login.loading" variant="solid"
>Login</Button
>
</form>
Expand Down
9 changes: 2 additions & 7 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'
import { getProxyOptions } from 'frappe-ui/src/utils/vite-dev-server'
import { webserver_port } from '../../../sites/common_site_config.json'
import frappeui from 'frappe-ui/vite'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
server: {
port: 8080,
proxy: getProxyOptions({ port: webserver_port }),
},
plugins: [frappeui(), vue()],
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),
Expand Down
Loading

0 comments on commit 259c550

Please sign in to comment.