Git Product home page Git Product logo

Comments (1)

calebman avatar calebman commented on July 28, 2024

部署其实就是两步:

  1. 编译打包得到静态页面文件
  2. 将静态页面文件放置到 web 服务器中,这个 web 服务器可以是 Tomcat、Nginx、甚至是 GithubPages

先说第一步

  • birth-want-to-say 这个项目由于本身就是静态页面文件了,所以直接将源代码放到 web 服务器即可
  • chat-want-to-say 这个项目由于使用了 vite 构建,需要经过一层编译才能得到静态页面文件,可以参考 https://cn.vitejs.dev/guide/ 获得 vite 相关帮助,届时你也能够了解项目的目录结构代表什么

再说第二步

  • 在你得到静态页面文件后,如果你有私人的云服务器资源,可以考虑安装 web 服务,然后将页面放上去即可。
  • 如果没有私人的云服务器,可以考虑托管到 GithubPages、GiteePages 来展示,相关教程可以自己搜索下

from girlfriend-gift-collection.

Related Issues (3)

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.