Skip to content

Commit 3f90c03

Browse files
committed
chore: wip
1 parent 68940d6 commit 3f90c03

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

.stacks/core/types/src/app.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,6 @@ export interface AppOptions {
5151
*/
5252
debug: boolean
5353

54-
/**
55-
* **Application Port**
56-
*
57-
* This port is used when Stacks creates a server you. You should set
58-
* a port that's not already in use by your machine. Stacks defaults
59-
* to a memorable port that likely is free on your end: 3333.
60-
*
61-
* @default number 3333
62-
*/
63-
port: number
64-
6554
/**
6655
* **Encryption Key**
6756
*

.stacks/core/vite/src/vue-components.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ import { autoImports, components, cssEngine, inspect, uiEngine } from './stacks'
1111

1212
export const vueComponentsConfig: ViteConfig = {
1313
root: frameworkPath('libs/components/vue'),
14-
base: frameworkPath(),
1514
envDir: projectPath(),
1615
envPrefix: 'FRONTEND_',
1716
publicDir: storagePath('public'),
1817

1918
server: {
2019
https: true,
21-
port: 3333,
20+
host: app.url,
21+
port: app.port,
2222
open: true,
2323
},
2424

@@ -39,6 +39,7 @@ export const vueComponentsConfig: ViteConfig = {
3939
components(),
4040
inspect(),
4141
mkcert({
42+
hosts: ['localhost', 'stacks.test', 'api.stacks.test', 'admin.stacks.test', 'libs.stacks.test', 'docs.stacks.test'],
4243
autoUpgrade: true,
4344
savePath: frameworkPath('certs/components'),
4445
keyFileName: library.name ? `library-${library.name}-key.pem` : 'library-key.pem',

0 commit comments

Comments
 (0)