1. 27 2月, 2019 1 次提交
  2. 26 2月, 2019 3 次提交
  3. 25 2月, 2019 2 次提交
  4. 24 2月, 2019 1 次提交
  5. 22 2月, 2019 2 次提交
  6. 21 2月, 2019 7 次提交
  7. 20 2月, 2019 4 次提交
  8. 18 2月, 2019 2 次提交
  9. 17 2月, 2019 1 次提交
  10. 16 2月, 2019 1 次提交
  11. 15 2月, 2019 2 次提交
  12. 14 2月, 2019 1 次提交
  13. 12 2月, 2019 1 次提交
  14. 11 2月, 2019 5 次提交
  15. 04 2月, 2019 1 次提交
  16. 01 2月, 2019 1 次提交
    • R
      [with-typescript] Improved intial props examples, added example detail (#6165) · 8fdb1339
      Resi Respati 提交于
      I've just thought of a way to improve the initial props page by adding
      an example for a list/detail page structure. To do that, I've created a
      separate `/detail` page, and a mock API which calls data from the array
      we made on the previous PR.
      
      A ListDetail component is created as an example for displaying detail.
      
      Page structure is also cleaned up. Should I go ahead and add an example
      on how to style with styled-jsx + its TS declarations? I might decide to
      do it within this week anyway.
      8fdb1339
  17. 31 1月, 2019 1 次提交
  18. 30 1月, 2019 1 次提交
  19. 29 1月, 2019 2 次提交
  20. 28 1月, 2019 1 次提交
    • 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