# nuxt2-app **Repository Path**: liuhaier/nuxt2-app ## Basic Information - **Project Name**: nuxt2-app - **Description**: nuxt2网站模板拿来即用 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-06-10 - **Last Updated**: 2024-01-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 使用项目 ```bash # 下载 yarn $ npm install --global yarn # 淘宝源 $ yarn config set registry https://registry.npm.taobao.org # install dependencies $ yarn install # serve with hot reload at localhost:3000 $ yarn dev # build for production and launch server $ yarn build $ yarn start # generate static project $ yarn generate ``` ## 效果 🌙 深色模式 ![](https://s2.loli.net/2023/03/27/siQgh4YmeMK96Hn.png) ## 更改自己的接口地址 进入`nuxt.config.js`里面 必须要和 [thinkphp-blogphp](https://github.com/11003/thinkphp-blogphp) 配合 ``` env: { APP_BASE_API: '你的域名' } ``` ## 如果遇到了问题 请移动到 [我的博客](http://blog.musclewiki.cn/search/nuxt) ,里面记录了踩 Nuxt 的坑