Giter Site home page Giter Site logo

erkobridee / nx-frontends Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 3.0 17.56 MB

Multiple frontend applications example using the Nx (Extensible Dev Tools for Monorepos)

License: ISC License

TypeScript 31.23% JavaScript 60.86% HTML 0.85% Shell 0.06% SCSS 7.00%
nx nx-workspaces nrwl monorepos react typescript frontend sharedassets azure azure-devops

nx-frontends's Introduction

NxFrontends

This project was generated using Nx (v12.0.6)

ℹ️  use the node.js v12 LTS

🌎  Pipelines (builds) on MS Azure DevOps

Goal

  • create 2 simple frontend application using react, have one a shared assets lib and a shared ui components lib used from both of the applications

  • master how to define and use the Azure DevOps Services | Microsoft Azure CI/CD pipelines as code (YAML)

  • integrate the gatsby support and identify how to use it

  • use the storybook support and integrate it to the azure pipelines

Documentation

Project dependencies graph

nx dep-graph

implicit - means kind of manual mapping

Findings

  • it's possible to have more flexible libs

    • create an assets lib to share the SASS (.scss) common files and also the images, which is a folder with the given content needed inside (no ts or other nx lib stuff related inside of it)

    • have a component lib that expose the whole content of itself and with that gain more flexibility to access the shared components from others libs or applications

  • it's possible to use the gatsby inside of the nx workspace, but it demands a bit of some extra manual steps to map the paths alias that will be used on the code and with that avoid to handl e the relative imports (avoid the need of this: ../..)

nx-frontends's People

Contributors

erkobridee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nx-frontends's Issues

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.