How to use Angular-CLI with NativeScript

Josh Hicks
Jul 10, 2017 · 2 min read

The Angular CLI is a great tool that allows you to do things like ‘generate’ files and ‘serve’ your web apps to a local server. However, this tool does not work in NativeScript apps without a little configuration. This post will show you how to get things set up to start generating files in your NativeScript projects.

Step 1: Run npm install -g @angular-cli inside your terminal.

Step 2: Create a file called .angular-cli.json in the root of your project.

Keep the story going. Sign up for an extra free read.

You've completed your member preview for this month, but when you sign up for a free Medium account, you get one more story.
Already have an account? Sign in

Josh Hicks

Written by

Software engineer, writer, traveler, weight lifter. Find more from me at www.hirejoshhicks.com

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade