Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set project name in StackBlitz

Tags:

angular

When I create a new project at https://stackblitz.com/ the name is auto-generated and looks something like this https://angular-h9csji.stackblitz.io. However, I've seen other projects where the names are more user-friendly (eg. https://angular-material-hello.stackblitz.io). Is it possible to customize the project name or update it in StackBlitz?

like image 925
Stephen Pham Avatar asked Dec 18 '22 23:12

Stephen Pham


2 Answers

The project title is used as both sub-domain App URL in the Preview, and as the app folder name in browser address bar. This can be edited to make it more user-friendly:

  1. Edit by clicking the pencil icon beside the title top-left of the editor: StackBlitz Title - Edit icon
  2. Save by pressing return or clicking the save icon. A spinning icon will be displayed while waiting for confirmation of the change: StackBlitz Title - Save icon
  3. Note it must unique across StackBlitz to be saved: StackBlitz duplicate title warning

The Share options drop-down also indicate the way the title is used. A copy-to-clipboard button is provided on the right: enter image description here

like image 117
Mike Goodstadt Avatar answered Dec 28 '22 11:12

Mike Goodstadt


You can use the name edit functionality at the left top corner to rename your project. enter image description here

like image 44
Isaac Obella Avatar answered Dec 28 '22 11:12

Isaac Obella