Skip to content

Conversation

Toub
Copy link

@Toub Toub commented Mar 4, 2021

With theses changes inspired by last version of react-ts, I get the following error while loading the page in browser:

GET http://172.20.0.7:3000/@linked/vite-react-ts-components/index.ts net::ERR_ABORTED 404 (Not Found)

What is wrong here?

[EDIT] fixed by removing the trailing slash in "vite.config.ts" alias (see comment bellow)

@Toub Toub force-pushed the toub/feat-updade-to-vite-v2-1 branch from 8fdfafc to 5e0c465 Compare March 4, 2021 14:11
@Toub
Copy link
Author

Toub commented Mar 4, 2021

Well, just found the v1 migration documentation page, with the solution in "Alias Behavior Change" section.

@Toub Toub marked this pull request as ready for review March 4, 2021 14:12
@Toub Toub changed the title feat: updade to vite v2 #1 feat: upgrade to vite v2 #1 Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant