Wondering what’s next for npm?Check out our public roadmap! »

    @irrasoft/cra-template-antd-pro

    0.1.113 • Public • Published

    cra-template-antd-pro

    Antd Pro template for Create React App

    Quick Start

    npx create-react-app my-app --template @irrasoft/antd-pro
    cd my-app
    npm start

    If you've previously installed create-react-app globally via npm install -g create-react-app, we recommend you uninstall the package using npm uninstall -g create-react-app or yarn global remove create-react-app to ensure that npx always uses the latest version.

    (npx comes with npm 5.2+ and higher, see instructions for older npm versions)

    Then open http://localhost:4000/ to see your app.

    Creating an App

    You’ll need to have Node >= 10 on your local development machine (but it’s not required on the server). You can use nvm (macOS/Linux) or nvm-windows to switch Node versions between different projects.

    To create a new app, you may choose one of the following methods:

    npx

    npx create-react-app my-app --template @irrasoft/antd-pro

    (npx comes with npm 5.2+ and higher, see instructions for older npm versions)

    npm

    npm init react-app my-app --template @irrasoft/antd-pro

    npm init <initializer> is available in npm 6+

    Yarn

    yarn create react-app my-app --template @irrasoft/antd-pro

    yarn create is available in Yarn 0.25+

    Output

    Running any of these commands will create a directory called my-app inside the current folder. Inside that directory, it will generate the initial project structure and install the transitive dependencies:

    my-app
    ├── README.md
    ├── node_modules
    ├── package.json
    ├── craco.config.js
    ├── .env
    ├── .gitignore
    ├── public
    │   ├── favicon.ico
    │   ├── index.html
    │   ├── logo192.png
    │   ├── logo512.png
    │   ├── manifest.json
    │   └── robots.txt
    └── src
        ├── assets
        ├── components
        ├── config
        ├── context
        ├── layouts
        ├── pages
        ├── router
        ├── index.js
        ├── reportWebVitals.js
        └── setupTests.js
    

    Scripts

    Inside the newly created project, you can run some built-in commands:

    npm start or yarn start

    Runs the app in development mode. Open http://localhost:4000 to view it in the browser.

    Install

    npm i @irrasoft/cra-template-antd-pro

    DownloadsWeekly Downloads

    3

    Version

    0.1.113

    License

    MIT

    Unpacked Size

    96.7 kB

    Total Files

    110

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar