dg-npm-templates
Version:
Npx generator for react app dependency creation by digite
38 lines (24 loc) • 1.26 kB
Markdown
~~~
1. Install dg-npm-templates package at global level by using -g argument in install command
2. use command "npx dg-npm-templates generate <your-project-name>"
3. npm install
~~~
In the project directory, you can run:
Runs the app in the development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.<br>
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.<br>
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
Without this your actual code will not go in build folder for others to use in dg-react-component template fproject
Builds the app for production to the `build` folder.<br>
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.