Skip to content

Step by step tutorial (see README for credits): Next.js SaaS Quill clone

Notifications You must be signed in to change notification settings

awebfactory/quill-clone-tut

Repository files navigation

Quill Clone Tutorial Step by Step

Project creation from scratch

victor@victorpc:dev$ npx create-next-app@latest
✔ What is your project named? … quill-clone-tut
✔ Would you like to use TypeScript? … No / Yes
✔ Would you like to use ESLint? … No / Yes
✔ Would you like to use Tailwind CSS? … No / Yes
✔ Would you like to use `src/` directory? … No / Yes
✔ Would you like to use App Router? (recommended) … No / Yes
✔ Would you like to customize the default import alias? … No / Yes
Creating a new Next.js app in /home/victor/Work/Learn/NextJS/NextJS-2023/JoshTriedCoding/dev/quill-clone-tut.

Using npm.

Initializing project with template: app-tw


Installing dependencies:
- react
- react-dom
- next

Installing devDependencies:
- typescript
- @types/react
- @types/node
- @types/react-dom
- autoprefixer
- postcss
- tailwindcss
- eslint
- eslint-config-next


added 331 packages, and audited 332 packages in 25s

117 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
Initialized a git repository.

Success! Created quill-clone-tut at [workstation dir](~/Work/Learn/NextJS/NextJS-2023/JoshTriedCoding/dev/quill-clone-tut)

Create Landing Page

Phase Planning

  • 08:22

    SaaS dev build workflow: Landing Page & Navigation ➡️ Auth ️➡ Functionality (➡ Payment & Launch)

Adding Radix UI based shadcn/ui to the project

victor@victorpc:quill-clone-tut$ npx shadcn-ui@latest init
Need to install the following packages:
  [email protected]
Ok to proceed? (y) y
✔ Would you like to use TypeScript (recommended)? … no / yes
✔ Which style would you like to use? › Default
✔ Which color would you like to use as base color? › Zinc
✔ Where is your global CSS file? … src/app/globals.css
✔ Would you like to use CSS variables for colors? … no / yes
✔ Where is your tailwind.config.js located? … tailwind.config.ts
✔ Configure the import alias for components: … @/components
✔ Configure the import alias for utils: … @/lib/utils
✔ Are you using React Server Components? … no / yes
✔ Write configuration to components.json. Proceed? … yes

✔ Writing components.json...
✔ Initializing project...
✔ Installing dependencies...

Success! Project initialization completed.
  • Now we can choose any of the shadcn/ui components and install them via npx (CLI method)
  • So, button for our home page, for example:
victor@victorpc:quill-clone-tut$ npx shadcn-ui@latest add shadcn-ui@latest add button
✔ Done.

victor@victorpc:quill-clone-tut$ tree src/components
src/components
├── MaxWidthWrapper.tsx
└── ui
    └── button.tsx

1 directory, 2 files

Original Next.js README

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Step by step tutorial (see README for credits): Next.js SaaS Quill clone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published