Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/nandorojo/solito
Browse files Browse the repository at this point in the history
  • Loading branch information
nandorojo committed Feb 13, 2023
2 parents 43f14f0 + ea904a3 commit f2dce1d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ npm i solito

## Next.js setup

You'll need `next-transpile-modules` to run this in your Next.js app.
You might need `next-transpile-modules` to run this in your Next.js app, unless `transpilePackages` works for you. It's been known to have issues with Reanimated, so it depends on whether or not you're using Reanimated.

If you're in a monorepo (which is [recommended](/starter)), start by entering the directory of your Next.js app.

Expand All @@ -34,7 +34,7 @@ cd apps/next
Next, install the peer dependencies.

```
yarn add -D next-transpile-modules next-compose-plugins next-images next-fonts
yarn add -D next-transpile-modules next-compose-plugins
```

Then run `yarn` in the root of your monorepo.
Expand Down
3 changes: 3 additions & 0 deletions example-monorepos/blank/apps/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "next-app",
"version": "0.1.0",
"private": true,
"engines": {
"node": "^16"
},
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down
3 changes: 3 additions & 0 deletions example-monorepos/with-custom-font/apps/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "next-app",
"version": "0.1.0",
"private": true,
"engines": {
"node": "^16"
},
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down
3 changes: 3 additions & 0 deletions example-monorepos/with-expo-router/apps/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "next-app",
"version": "0.1.0",
"private": true,
"engines": {
"node": "^16"
},
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down
3 changes: 3 additions & 0 deletions example-monorepos/with-tailwind/apps/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "next-app",
"version": "0.1.0",
"private": true,
"engines": {
"node": "^16"
},
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down

3 comments on commit f2dce1d

@vercel
Copy link

@vercel vercel bot commented on f2dce1d Feb 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

solito-s9oj – ./example-monorepos/with-tailwind/apps/next

solito-s9oj.vercel.app
solito-s9oj-git-master-beat-gig.vercel.app
solito-s9oj-beat-gig.vercel.app

@vercel
Copy link

@vercel vercel bot commented on f2dce1d Feb 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

with-custom-fonts – ./example-monorepos/with-custom-font/apps/next

with-custom-fonts.vercel.app
with-custom-fonts-git-master-fernandorojo.vercel.app
custom-font.example.solito.dev
with-custom-fonts-fernandorojo.vercel.app

@vercel
Copy link

@vercel vercel bot commented on f2dce1d Feb 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

solito-app – ./example-monorepos/blank/apps/next

solito-app-fernandorojo.vercel.app
solito-app.vercel.app
example.solito.dev
solito-app-git-master-fernandorojo.vercel.app

Please sign in to comment.