This is the basic JavaScript template for Mastro. If you're not already viewing this on github.dev, open it.
- Click Install in the small dialog in the bottom right that says "Do you want to install the recommended extensions from mastro and FAST for this repository?"
- Click Trust Publishers & Install
- Close the two tabs of the just installed extensions (Mastro and FAST Tagged Template Literals) and switch back to the Explorer view (the topmost icon in the activity bar on the left) to see the folders and files.
On your keyboard, hit Ctrl-Shift-P
(Windows or Linux) or Command-Shift-P
(Mac), type mastro
, and when the mastro: Preview and Generate Website item appears, hit enter.
While you can play around in the template repository, if you want to save your changes, you need to create your own copy of the repo:
- Click the green "Use this template" button on the top right of this template's GitHub repo and select "Create a new repository".
- On your repo's GitHub page, press
.
on your keyboard to again open Visual Studio Code for the Web. If you already know HTML and CSS, you can skip ahead to this chapter in the guide. - Save your changes and publish your website!
For a step-by-step guide, see the Mastro guide.