Generate Your App

Getting Started with UGF

For new users, please use the Yeoman arrow-up-righttool to generate your first app:

To install Yeoman and clone the UGF generator

#Install Yeoman
# Make sure both is installed globally
npm install -g yo
#Install UGF Generator
git clone https://github.com/a10networks/generator-ugf.git
cd generator-ugf
npm link

To generate your first project

# Create a new directory, and `cd` into it:
mkdir my-new-project && cd my-new-project

# Run the generator, and browser will open http://localhost:3000 automatically
yo ugf

Or you can use the following commands to boot up, build, and test your project

# Start for development
npm start # or

# Just build the dist version and copy static files
npm run build

# Run unit tests
npm test

Generate more

Generate a container

Generate a component

Generate a feature

Want to generate more?

To use more of the generator, please read generator-ugf Readme.md arrow-up-right

Last updated

Was this helpful?