Tutorials | Apps Script | Google Developers

Google Sheets Web App Example - Google Apps Script Web App Tutorial - Part 1

이름 반드시 doGet

function doGet() {
  return HtmlService.createHtmlOutputFromFile('page');
}
<!DOCTYPE html>
<html>
  <head>
    <base target="_top">
  </head>
  <body>
    <h1>hello</h1>
  </body>
</html>