@tanstack/vue-start
Version:
Modern and scalable routing for Vue applications
18 lines (15 loc) • 439 B
text/typescript
import { fileURLToPath } from 'node:url'
import path from 'pathe'
const currentDir = path.dirname(fileURLToPath(import.meta.url))
const defaultEntryDir = path.resolve(
currentDir,
'..',
'..',
'plugin',
'default-entry',
)
export const vueStartDefaultEntryPaths = {
client: path.resolve(defaultEntryDir, 'client.tsx'),
server: path.resolve(defaultEntryDir, 'server.ts'),
start: path.resolve(defaultEntryDir, 'start.ts'),
}