xgqfrms-GitHub / browser-sync

browser-sync
5 stars 6 forks source link

macOS wifi local network testing #7

Open xgqfrms opened 3 years ago

xgqfrms commented 3 years ago

macOS wifi local network testing

http://localhost:3000/

http://192.168.1.12:3000

$ browser-sync start --server --files "./*.html"

[Browsersync] Access URLs:
 -------------------------------------
       Local: http://localhost:3000
    External: http://192.168.1.12:3000
 -------------------------------------
          UI: http://localhost:3001
 UI External: http://localhost:3001
 -------------------------------------
[Browsersync] Serving files from: ./
[Browsersync] Watching files...
(node:58433) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated

mac

image

iPhone

image

xgqfrms commented 3 years ago

h5t

<!DOCTYPE html>
<html lang="zh-Hans">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <meta name="author" content="xgqfrms">
  <meta name="generator" content="VS code">
  <title>macOS wifi loccal network testing</title>
  <style>
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
  </style>
  <!-- <link rel="stylesheet" href="./index.css"> -->
</head>
<body>
  <header>
    <h1></h1>
  </header>
  <main>
    <article>
      <section>
        <a href="https://feiqa.xgqfrms.xyz/index.html"></a>
      </section>
    </article>
  </main>
  <footer>
    <p>copyright&copy; xgqfrms 2021</p>
  </footer>
  <!-- js -->
  <script>
    const log = console.log;
  </script>
</body>
</html>

image