@gluestack-v2/glue-plugin-web
v0.1.8
Published
Gluestack V2 Web Plugin
Downloads
41
Readme
Getting Started
This plugin provides a comprehensive frontend solution for your application using Next.js.
It offers three types of templates for you to choose from: next-gluestack-ts, next-tailwind-ts, and next-ts.
These templates provide a solid foundation for building your application's frontend, with pre-configured settings and libraries to help you get started quickly.
Installation
To add frontend into your gluestack project, you can run the following command in project's root directory:
$ node glue add @gluestack-v2/glue-plugin-web <instance-name>
For instance, let's install an instance named frontend in our gluestack project:
$ node glue add web frontend
After a successful installation, you should see a new directory named after the frontend template that will be a basic nextJs project.
This will create a new directory names client inside which it will keep the frontend directory of your project and will contain all the necessary files and folders for your application's frontend.
Requirements
Docker must be installed on the system.
CLI
- Commands
node glue add @gluestack-v2/glue-plugin-web <instance-name>