1. 31 1月, 2019 1 次提交
  2. 30 1月, 2019 1 次提交
  3. 29 1月, 2019 4 次提交
  4. 28 1月, 2019 4 次提交
    • M
      Updates with-semantic-ui example (#6158) · 14754915
      Marcin Czenko 提交于
      I tried to make the example a bit more descriptive. I changed `publicPath` in `now.config.js` to be `/_next/static/`, in place of `./`, and `outputPath` to `static/` in place of `static/css/`.  The reason is that the webpack config will still fallback to `file-loader` for any content that is imported by the user and which is bigger that `8192` bytes. I think this content should not land in the css folder, which should probably stay css specific.
      
      Moreover, for user content, like regular images, the former settings will fail.
      
      If you have this:
      
      ```javascript
      import LargeFile from './LargeFile.png'
      ```
      
      it would be placed in `static/css/` but its url would resolve to `<base-url>/LargeFile.png`, which will fail. It works for semantic-ui alone, because `@zeit/next-css` will put the styles in `static/css/` and so `publicPath` of `./` would work just fine.
      
      Putting assets in `static/` and setting `publicPath` to '/_next/static/' will resolve correctly for both semantic-ui related assets as well as for regular user assets.
      
      I hope I am not mixing something up. I tested it locally and in serverless deployment, and this looks pretty consistent.
      14754915
    • T
      v8.0.0-canary.17 · 0e216152
      Tim Neutkens 提交于
      0e216152
    • T
      Compile all next module files (#6155) · 59280f77
      Tim Neutkens 提交于
      59280f77
    • T
      v8.0.0-canary.16 · 136c37ec
      Tim Neutkens 提交于
      136c37ec
  5. 27 1月, 2019 4 次提交
  6. 26 1月, 2019 8 次提交
  7. 25 1月, 2019 4 次提交
  8. 24 1月, 2019 4 次提交
  9. 23 1月, 2019 2 次提交
    • T
      Move phases back to next/constants (#6104) · 9112f63e
      Tim Neutkens 提交于
      * Move phases back to next/constants
      
      * Fix typescript error
      9112f63e
    • J
      add new nextjs typings with samples (#6102) · d6ec10a4
      Justin Noel 提交于
      The current `examples/with-typescript` is not using the latest type definitions currently available on DefinitelyTyped project for next.
      
      Added new list page examples that demonstrate how to use the new Types for both stateless functional components and classes.  Also modified examples for list to demonstrate typings for `getInitialProps`.
      d6ec10a4
  10. 22 1月, 2019 3 次提交
  11. 21 1月, 2019 5 次提交