Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to integrate into existing project? #10

Closed
Steven4294 opened this issue Jun 17, 2023 · 8 comments
Closed

How to integrate into existing project? #10

Steven4294 opened this issue Jun 17, 2023 · 8 comments

Comments

@Steven4294
Copy link

Is there any instructions on how to integrate this into an existing project? Specifically I am looking to add this to an angular project.

@dherault
Copy link

Same here for a react project, would love to see a documentation arise. Much love.

@steven-tey
Copy link
Owner

Contributions welcome here for the setup docs!

Ideally we'd want to have a similar setup experience as https://ui.shadcn.com/ (shoutout to my man @shadcn) where you copy and paste the code into your own codebase.

In fact, folks are already doing this successfully:

@TerminalFi
Copy link

I can't access those tweets. Can anyone provide a example for nextjs ? I am migrating (or trying) from the Affine Editor to Novel

@z4nr34l
Copy link

z4nr34l commented Jul 11, 2023

@TerminalFi
Copy link

@TerminalFi here you go: https://github.com/vercel/platforms

Yea…I don’t think that’s using novel. But thanks ! I actually decided to just push forward with Lexical which already has everything needed including block support.

@z4nr34l
Copy link

z4nr34l commented Jul 11, 2023

@TerminalFi this template is build with novel. Please read readme:

Built on open source

This working demo site was built using the Platforms Starter Kit and:

[Next.js](https://nextjs.org/) as the React framework
[Tailwind](https://tailwindcss.com/) for CSS styling
[Prisma](https://prisma.io/) as the ORM for database access
[Novel](https://novel.sh/) for the WYSIWYG editor
[Vercel Postgres](https://vercel.com/storage/postgres) for the database
[Vercel Blob](https://vercel.com/storage/blob) for image uploads
[NextAuth.js](https://next-auth.js.org/) for authentication
[Tremor](https://tremor.so/) for charts
[Vercel](http://vercel.com/) for deployment

You just need dig down in catalogs to see how it's implemented.

Happy coding! :D

@TerminalFi
Copy link

Again, not really built on novel. Novel isn’t a dependency nor is it imported anywhere. It looks like it’s copy and pasted code from novel into this app. Which doesn’t make using novel as a package intuitive.

Either way I’ve moved on and I happy with Lexical.

@steven-tey
Copy link
Owner

@TerminalFi that's correct, we don't have a package yet – it's being worked on in #87

Lexical is a solid choice – best of luck!

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

No branches or pull requests

5 participants