CLI Frontend configuration

MDB CLI Frontend configuration

Frontend configuration


Frontend project from scratch.

Initialize

In order to initialize empty project use the following command:

        
            
              $ mdb blank init
            
        
    

Publish

Once you finish building your project, use the following command do deploy it:

        
            
              $ mdb frontend publish
            
        
    

Note: Since frontend is a default value for publish command, you can run just mdb publish (instead of mdb frontend publish )

If you are publishing for the first time, CLI will ask you few initial questions like

  • Whether you want to use npm or yarn?
  • What is your project name, version, description, github address and license

Once you successfully publish your project they will be stored for a future.

Video tutorial:


Frontend project from starter.

Initialize

In order to initialize project and use predefined starter use the following command:

        
            
              $ mdb  init
            
        
    

You will list of available starters to choose from.

Publish

Once you finish building your project, use the following command do deploy it:

        
            
              $ mdb frontend publish
            
        
    

Note: Since frontend is a default value for publish command, you can run just mdb publish (instead of mdb frontend publish )

If you are publishing for the first time, CLI will ask you few initial questions like

  • Whether you want to use npm or yarn?
  • What is your project name, version, description, github address and license

Once you successfully publish your project they will be stored for a future.

Video tutorial: