External Framework Support

External framework support

AppCreator Widget now supports external frameworks like React, Vue, etc. You can include the respective framework's CDN URLs in your widget app's index HTML files and code your app with the framework. 

Note: It is suggested to use minified production-ready CDN URLs (available separately for each framework) when deploying to prevent the slowing down of your application.

Alternatively, you can use the respective framework's NPM, CLI method to create production-ready bundles and include them in your widget app. No additional inclusion of external URLs is required in this method.

Below is an example for using the React framework,

Users can follow the below format for other frameworks i.e you can include the script tag along with the respective framework's CDN URLs.

While in development, use the development URL to get meaningful error descriptions and suggestions.

  <script src="https://unpkg.com/react@17/umd/react.development.js" crossorigin></script>
  <script src="https://unpkg.com/react-dom@17/umd/react-dom.development.js" crossorigin></script>

While deploying use minified version URL to increase the loading speed of your application.

  <script src="https://unpkg.com/react@17/umd/react.production.min.js" crossorigin></script>
  <script src="https://unpkg.com/react-dom@17/umd/react-dom.production.min.js" crossorigin></script>

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: appcreator-support@manageengine.com