create-app-templates

1.2.0 • Public • Published

Create-app-templates

1631515941527.png NPM


Install

npm i -g create-app-templates or yarn add -g create-app-templates


Creating app templates

create-app-templates create app

Next, you will be asked to select the template of which application you want to create (so far only react is available) and language (so far only js is available):

choice of template and language.png


Available templates and languages

Available templates:

  • react-js
  • react-ts

Templates

create-app-templates create app

This command with the choice of template react and js language will create a directory named app inside the current folder. Inside this directory, it will generate the original project structure and install the transitive dependencies: This command will create a directory named app inside the current folder. Inside this directory, it will generate the original project structure and install the transitive dependencies:

React-js:

app
    -dist
        index.html
    -src
        -components
        -container
        -modules
        -styles
        -utils
        App.jsx
        index.jsx
    package.json
    webpack.config.js

React-ts

app
    -dist
        index.html
    -src
        -components
        -container
        -modules
        -styles
        -utils
        App.tsx
        index.tsx
    package.json
    webpack.config.js
    .eslintrc.json
    tsconfig.json

When the project is created, enter the command:

npm start or yarn start


Future

  • [ ] Selecting additional dependencies
  • [ ] Choosing style preprocessor
  • [ ] Node Express-js
  • [ ] Node Express-ts
  • [ ] MERN-js
  • [ ] MERN-ts

Package Sidebar

Install

npm i create-app-templates

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

7.09 kB

Total Files

3

Last publish

Collaborators

  • krimsit