Look at the nuxt 3 documentation to learn more.
建议使用 nvm 管理 Node.js 版本:
nvm install 18.20.4
nvm use 18.20.4
安装 pnpm:
npm install -g pnpm@10.12.1
pnpm install
Config Domain In Index.js [/composables/index.js]
export const apiUrl = 'http://54.46.9.88:8001/';
export const defaultUrl = 'http://54.46.9.88:8001/';
export const supplierUrl = 'https://seller.b2btopsite.com/user/login';
pnpm dev
Start the development server on http://localhost:3000
Checkout the deployment documentation for more information.