plugins: restore dev setups
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -14,7 +14,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { createDevApp } from '@backstage/dev-utils';
|
||||
import { welcomePlugin } from '../src/plugin';
|
||||
import { welcomePlugin, WelcomePage } from '../src/plugin';
|
||||
|
||||
createDevApp().registerPlugin(welcomePlugin).render();
|
||||
createDevApp()
|
||||
.registerPlugin(welcomePlugin)
|
||||
.addPage({
|
||||
title: 'Welcome',
|
||||
element: <WelcomePage />,
|
||||
})
|
||||
.render();
|
||||
|
||||
Reference in New Issue
Block a user