Reuse of code with web language

Asked

Viewed 63 times

3

I’m working on three apps different ones that use Ionic and Cordova. The three are very similar at some points mainly in the layout.

I wonder if it is possible to create a kind of library or something that I modify only once the code and replicate to the three projects, such as inheritance in some other languages.

If anyone knows what this is called or has any material or knowledge please share.

NOTE: The languages I use are Javascript, HTML and CSS.

  • 1

    You can create a task with Gulp, Grunt, etc. I would choose one of the 3 projects and your src would take the files to replicate in other projects.

1 answer

2

  • 1

    I strongly recommend using Polymer!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.