What's the best way to start a new project with the latest version of AngularJS (currently 1.7.2)?
The official documentation suggests to clone the Seed App project template, but that uses the old 1.5.11
version on AngularJS.
Even yarn AngularJS starter kit (yarn create angular-app my-app
) seem to include deprecated packages and then fails at the node-sass postinstall script.
I know new projects should use the latest version of Angular, but this is only for educational purposes.
You can create a minimalist AngularJS project with Yarn by running:
yarn init
yarn add angular
yarn add angular-route
yarn add gulp --dev
yarn add gulp-concat --dev
and then you will have to create a gulpfile.js
with the build task.
Alternatively, you can start from angularjs-starter-kit.