kirklin / celeris-web

Celeris Web is a highly performant and customizable front-end development template built with Vue 3, Vite, and TypeScript. It features the latest syntax, components and APIs auto importing, state management, Chinese font presets, internationalization, and integration with OpenAI's ChatGPT API.
https://celeris-web.vercel.app/
MIT License
407 stars 60 forks source link

Preview is not running #35

Closed clabnet closed 3 months ago

clabnet commented 3 months ago

Describe the bug

First things, thank you to sharing this code. The vite preview command not found a dist to open after the build command.

Reproduction

  1. pnpm build 2. pnpm preview

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 15.77 GB / 31.85 GB
  Binaries:
    Node: 20.15.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Local\pnpm\yarn.CMD
    npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.5.0 - ~\AppData\Local\pnpm\pnpm.CMD
  Browsers:
    Edge: Chromium (126.0.2592.113)
    Internet Explorer: 11.0.22621.3527

Validations

kirklin commented 3 months ago

The script is now fixed, but the preview needs to be careful to change the api settings in the file .env.production