Moved into the tamagui monorepo:
tamagui / starters Goto Github PK
View Code? Open in Web Editor NEWStarter repo (used by create-tamagui-app)
Starter repo (used by create-tamagui-app)
Moved into the tamagui monorepo:
As all turbo repo starter packages showcase the best practice would be to move expo and next folder into an "apps" folder as a starting point of a monorepo
Running yarn build
from the /next
folder i'm getting this error:
SyntaxError: Unexpected token 'export'
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Object.newLoader (/Users/matthieuh/workspace/perso/starters/next-expo-solito/node_modules/esbuild-register/dist/node.js:2262:9)
at Object.extensions..js (/Users/matthieuh/workspace/perso/starters/next-expo-solito/node_modules/esbuild-register/dist/node.js:4801:24)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at ChildProcess.listener (/Users/matthieuh/workspace/perso/starters/next-expo-solito/node_modules/@tamagui/static/dist/cjs/extractor/getStaticBindingsForScope.js:68:13)
I'm trying to build next on this commit: 33e7fe0
Hi! I was trying this starter template, but can't get IntelliSense working. Haven't changed anything in the source code. Restarted typescript server to make sure it's working. 😕 Any ideas why that might be the case?
In this example, it shows me the default CSS colors:
The same happens if I try to use Tamagui components directly. It accepts the correct types, but no luck with autocomplete.
Hi,
The < Go Home
button fails to navigate to the homepage on native (I only tested on iOS). This could be a problem specific to solito.
next-expo-solito
starteryarn native
Link to user
< Go Home
buttonFollow the same pattern used in the HomeScreen to create a link (using the useLink
Hook):
export function UserDetailScreen() {
const [id] = useParam('id')
const homeLinkProps = useLink({
href: '/',
})
return (
<YStack f={1} jc="center" ai="center" space>
<Paragraph ta="center" fow="800">{`User ID: ${id}`}</Paragraph>
<Button {...homeLinkProps} icon={ChevronLeft}>
Go Home
</Button>
</YStack>
)
}
After running
npx create-tamagui-app@latest my-app
cd my-app
yarn web
I'm getting the following error message:
Cannot find module '/my-app/node_modules/@my/ui/dist/cjs'. Please verify that the package.json has a valid "main" entry
Update
Only after running yarn build
, was I able to run the new project that isn't mentioned in the docs.
Hi Guys,
I'd love to see Storybook for react and react-native as well as some Jest testing inside of the starter template. I am playing around to add it myself but especially with Storybook there seem to be some webpack config missing which is not intuitiv.
I think the best folder structure would be:
apps/expo
apps/nextjs
apps/react-storybook
apps/react-storybook-native
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.