Develop the frontend app according to the frontend framework: Angular, Vue, React, …
Sheetbase CLI provides a
build command for building the project distribution package. To build the frontend.
sheetbase frontend build
Optional, pre-render the app, may need Chrome path setup below.
sheetbase frontend prerender
You can also run all the command above with one command.
sheetbase build --frontend
Sheetbase CLI need Chrome for
sheetbase frontend prerender command. By default, it looks for environment variable named
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe on Windows.
You can set your Chrome path variable to different Chrome execution location.
For Windows user, open Start menu, search for
Edit environment variables for your account, then click
OK to save. Check if it set correctly, from command line, run to see the ouput:
export GOOGLE_CHROME=<path to chrome execution>
Verify by running: