Merge pull request #115 from spotify/rugvip/plug

packages/cli: some template fixes + register route
This commit is contained in:
Patrik Oldsberg
2020-02-24 14:56:39 +01:00
committed by GitHub
9 changed files with 29 additions and 40 deletions
+7 -1
View File
@@ -62,7 +62,13 @@ In [packages/app/src/plugins.ts](frontend/packages/app/src/plugins.ts), add the
export { default as MyPlugin } from '@spotify-backstage/plugin-my-plugin';
```
You should now be able to see the default plugin page at [localhost:3000/my-plugin](http://localhost:3000/my-plugin) if you're serving the frontend.
To apply the above changes, go to the `frontend/` directory and run:
```
$ yarn
```
Now start or restart `yarn start`, and you should be able to see the default page for your new plugin at [localhost:3000/my-plugin](http://localhost:3000/my-plugin).
## Protobuf Definitions