Add boilerplate for react settings app

This commit is contained in:
Emili Castells Guasch 2024-10-18 17:17:07 +02:00
parent 53af77897f
commit 9c5d978707
14 changed files with 10671 additions and 2 deletions

View file

@ -0,0 +1,18 @@
import React from 'react';
import * as ReactDOM from 'react-dom/client';
import { App } from './App';
ReactDOM.createRoot(
document.getElementById( 'ppcp-settings-container' )
).render( <App /> );
/*
import React from 'react';
import { createRoot } from 'react-dom/client';
import { App } from './App';
createRoot( document.getElementById( 'ppcp-settings-container' ) ).render(
<App />
);
*/