Skip to content
#

blog

Here are 16,479 public repositories matching this topic...

next.js
jleck
jleck commented Sep 8, 2020

Bug report

Describe the bug

When trailingSlashes: true is added to next.config.js, server-side generation does not include the trailing slash in the router asPath property.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Enable trailing slashes
  2. Add useRouter() to component
  3. Log asPath property

Expected beh

MathiasKandelborg
MathiasKandelborg commented Sep 2, 2020

Summary

How do I control how Typescript is included? How does one incorporate typings into the developer experience, and why can one not have globals? E.g., React as global so one won't have to import it everywhere.

Relevant information

Typescript is 'included', but there's no information on how to control versions or what the default configuration is, or how one would go about changin

Game-Programmer-Study-Notes

我的游戏程序员生涯的读书笔记合辑。你可以把它看作一个加强版的Blog。涉及图形学、实时渲染、编程实践、GPU编程、设计模式、软件工程等内容。Keep Reading , Keep Writing , Keep Coding.

  • Updated Jun 15, 2020

Improve this page

Add a description, image, and links to the blog topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the blog topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.