This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script is used in Vercel to determine whether to continue the build or not for nx-dev. | |
# Exits with 0 if the build should be skipped, and exits with 1 to continue. | |
# Configure these values to match the GitHub repo. | |
OWNER=jaysoo | |
REPO=acme | |
# Only arg is the app name as configured in Nx's workspace.json file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { SharedUi } from '@my-org/shared-ui'; | |
export const Index = () => { | |
return ( | |
<div className="app"> | |
<header className="flex"> | |
<Logo width="75" height="75" /> | |
<h1>Welcome to myblog!</h1> | |
</header> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import './about.css'; | |
import Title from '../components/title'; | |
/* eslint-disable-next-line */ | |
export interface AboutProps {} | |
export const About = (props: AboutProps) => { | |
return ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import './title.css'; | |
/* eslint-disable-next-line */ | |
export interface TitleProps {} | |
export const Title = (props: TitleProps) => { | |
return ( | |
<div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { MyLib } from '@my-app/my-lib'; | |
export const Index = () => { | |
return ( | |
<div className="app"> | |
<header className="flex"> | |
<Logo width="75" height="75" /> | |
<h1>Welcome to myblog!</h1> | |
<MyLib/> | |
</header> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import './my-lib.css'; | |
/* eslint-disable-next-line */ | |
export interface MyLibProps {} | |
export const MyLib = (props: MyLibProps) => { | |
return ( | |
<div> | |
<h1>Welcome to my-lib!</h1> | |
</div> | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import './about.css'; | |
import Title from '../components/title'; | |
/* eslint-disable-next-line */ | |
export interface AboutProps { | |
} | |
export const About = (props: AboutProps) => { | |
return ( | |
<div> | |
<Title/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import './title.css'; | |
/* eslint-disable-next-line */ | |
export interface TitleProps {} | |
export const Title = (props: TitleProps) => { | |
return ( | |
<div> | |
<h1>Welcome to Title!</h1> | |
</div> | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"extends": "../../tsconfig.base.json" | |
... | |
} |
NewerOlder