46 lines
630 B
Markdown
46 lines
630 B
Markdown
# Customer Portal
|
|
|
|
This folder will contain the Customer Portal using Vuexy Vue.
|
|
|
|
## Setup
|
|
|
|
1. Copy Vuexy Vue **starter-kit** (TypeScript) here:
|
|
|
|
```bash
|
|
cp -r /path/to/vuexy/typescript-version/starter-kit/* .
|
|
```
|
|
|
|
2. Install dependencies:
|
|
|
|
```bash
|
|
pnpm install
|
|
```
|
|
|
|
3. Create `.env.local`:
|
|
|
|
```env
|
|
VITE_API_URL=http://localhost:8000/api/v1
|
|
VITE_APP_NAME="Customer Portal"
|
|
```
|
|
|
|
4. Update `vite.config.ts` to use port 5175:
|
|
|
|
```typescript
|
|
export default defineConfig({
|
|
// ... existing config
|
|
server: {
|
|
port: 5175,
|
|
},
|
|
})
|
|
```
|
|
|
|
5. Start development:
|
|
|
|
```bash
|
|
pnpm dev --port 5175
|
|
```
|
|
|
|
## Port
|
|
|
|
Runs on http://localhost:5175
|