美文网首页
create react project

create react project

作者: 米诺zuo | 来源:发表于2020-12-10 22:24 被阅读0次

    use create-react-app to start building a new single-page application

    npx create-react-app react-demo
    cd react-demo
    npm start
    
    if something is already running on port 3000, follow below step, modify start code in package.json
    // windows
    set PORT=5000 && react-scripts start
    //mac
    PORT=5000 react-scripts start
    

    have a reference: https://github.com/vincentzyc/notes/issues/2

    相关文章

      网友评论

          本文标题:create react project

          本文链接:https://www.haomeiwen.com/subject/xndtbktx.html