Giter VIP home page Giter VIP logo

lqsblog-frontend-midway-vue3-ssr's Introduction

lqsblog-frontend-midway-vue3-ssr

它(GithubGitee)是一个PC端、WAP端自适应展示的一个前端网站前台,它基于 midway-vue3-ssr实现。

开发文档

功能

- 首页
  -- 随笔作品列表
- 关于
- 随笔
- 作品
- 专题
- 邻居

- 音乐
- 主题
- 百度统计

界面展示

index index index index index index index index index index index index index index index

快速入门

请使用 pnpm , pnpm的安装与使用

本地开发

$ pnpm i
$ pnpm dev
$ open http://localhost:8002/

推荐使用 pm2 部署 , PM2安装与常用命令

部署

$ pnpm i # 安装开发期依赖
$ pnpm build # 构建项目
$ pnpm prune --production  # 移除开发依赖
$ pnpm start # 启动项目,对应的 pm2 命令为: NODE_ENV=production pm2 start ./bootstrap.js --name lqsblog -i 4

配置 nginx 反向代理

http {
    # 内部添加以下内容
    server {
        # 监听 80 端口 ,你也可以设置其他端口但是访问域名时需要加上端口访问
        listen       80;
        # 你的网址,如果是本地测试,也可以设置你本地的ip
        server_name  liqingsong.cc;
        location / {
            # 代理地址,你本地 nuxt 的访问地址
		        proxy_pass  http://127.0.0.1:8002;
            index  index.html index.htm;
            
        }  
    }
}

捐赠

如果你觉得这个项目帮助到了你,请帮助点击 Star,你也可以请作者喝咖啡表示鼓励.

ALIPAY WECHAT
Alipay Wechat

lqsblog-frontend-midway-vue3-ssr's People

Contributors

lqsong avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.