PHP Classes

File: src/index.tsx

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WordPress React Plugin Kit   src/index.tsx   Download  
File: src/index.tsx
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WordPress React Plugin Kit
Environment to develop new WordPress plugins
Author: By
Last change:
Date: 1 year ago
Size: 428 bytes


Class file image Download
/** * External dependencies */ import { render } from '@wordpress/element'; import './data/store'; /** * Internal dependencies */ import App from './App'; // Import the stylesheet for the plugin. import './style/tailwind.css'; import './style/main.scss'; // Render the App component into the DOM const jobPlaceElement = document.getElementById('jobplace'); if (jobPlaceElement) { render(<App />, jobPlaceElement); }