Giter VIP home page Giter VIP logo

next-with-antd's Introduction

Next with Antd

A simple example for showing how to initialize your frontend project with next.js and antd.

screenshot

Bundle Sizes

Development: npm run dev -> 2680KB

Name Status Type Initiator Size Time
localhost 200OK document Other 474 KB / 474 KB 920 ms902 ms
index.js?ts=1553059908721/_next/static/development/pages 200OK script (index)Parser 1.7 MB / 1.7 MB 253 ms13 ms
_app.js?ts=1553059908721/_next/static/development/pages 200OK script (index)Parser 348 KB / 347 KB 16 ms12 ms
webpack.js?ts=1553059908721/_next/static/runtime 200OK script (index)Parser 34.1 KB / 33.8 KB 13 ms13 ms
main.js?ts=1553059908721/_next/static/runtime 200OK script (index)Parser 880 KB/ 879 KB 45 ms14 ms

After build: npm run build && npm start -> 1310KB

Name Status Type Initiator Size Time
localhost 200OK document Other 470 KB / 470 KB 177 ms174 ms
index.js/_next/static/o_DHRDq7ZCnL_FwLl6DHG/pages 200OK script (index)Parser 1.1 MB / 1.1 MB 37 ms13 ms
_app.js/_next/static/o_DHRDq7ZCnL_FwLl6DHG/pages 200OK script (index)Parser 2.9 KB/ 2.6 KB 13 ms13 ms
webpack-f0c6edbea5b547edc23f.js/_next/static/runtime 200OK script (index)Parser 1.7 KB / 1.5 KB 16 ms15 ms
commons.649e134287af54e585ca.js/_next/static/chunks 200OK script (index)Parser 190 KB / 190 KB 23 ms15 ms
main-7e3858c4094762b6abe9.js/_next/static/runtime 200OK script (index)Parser 15.9 KB / 15.6 KB 21 ms15 ms

Production (gzipped) -> 386KB

  • 470K -> 57K index.html
  • 2.6K -> 1.1K _app.js
  • 190K -> 61K commons.649e134287af54e585ca.js
  • 1.1M -> 261K index.js
  • 16K -> 5.3K main-7e3858c4094762b6abe9.js
  • 1.5K -> 769B webpack-f0c6edbea5b547edc23f.js

next-with-antd's People

Contributors

artemshirshov avatar dependabot[bot] avatar hanpama avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

next-with-antd's Issues

first page is more than 4MB!

hi,
I think something is wrong because when I run the first page in my browser it download more than 4MB!
you can see it in devtools network tab
to clarify, after deploy it's 1.8 MB

Less

I see that you're importing the compiled and minified CSS from antd. This makes it hard to customize antd using LESS.

Have you looked into including a LESS compiler?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.