Giter Site home page Giter Site logo

lgdd / liferay-remote-blog-editor Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 181 KB

Demonstrate how a blog editor built with React can be integrated as a Remote App in Liferay 7.4.

License: MIT License

Dockerfile 0.43% HTML 12.43% JavaScript 87.14%

liferay-remote-blog-editor's Introduction

Liferay Remote Blog Editor

Demonstrate how a blog editor built with React can be integrated as a Remote App in Liferay 7.4.

Getting Started

Clone this repo and run:

docker-compose up --build

Once Liferay is started:

  • Go to http://localhost:8080
  • Login as admin (default is [email protected]:test)
  • Open the mega menu (top right)
  • Go to Applications > Custom Apps > Remote Apps
  • Click on the + button
  • Give it a Name (e.g. Blog Editor)
  • For Type, select Custom Element
  • For HTML Element Name, add blog-editor
  • For URL, add http://localhost:3000/static/js/bundle.js

Now, go to any page and you should be able to deploy your custom app as a widget on the page.

With this docker setup, you can open the React App in an editor, make any change and it should be hot reloaded on Liferay.

Note that a CORS config example is automatically deployed at startup to make this Remote App work within Liferay.

License

MIT

liferay-remote-blog-editor's People

Contributors

lgdd avatar

Stargazers

 avatar  avatar

Watchers

 avatar Obotor avatar

Forkers

aguirrerjg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.