Quickly build a website with AI programming assistant, no coding required the whole time

What if you want to make your own product website but don't know how to develop it? Teach you to use cloud development in 5 minutesAI Programming AssistantGenerate an official website, the whole process without coding, write your requirements to generate the page, but also supports the collection of form information, the effect is as follows:

move

Access to Cloud Development Platform

https://tcb.cloud.tencent.com/dev

Quickly build a website with AI programming assistant, no coding required the whole time

Select the "Create Official Website from AI" module

Quickly build a website with AI programming assistant, no coding required the whole time

Input the needs of the product introduction official website, choose the main color, click "Generate" can be, to our team's new product "AI Food" small program as an example:

Generate an introductory page for the AI Dietary Record Smart Assistant.

Input the needs of the product introduction official website, choose the main color, click "Generate" can be, to our team's new product "AI Food" small program as an example:

  1. .
  2. //,/.

After the generation is completed, you can click "Save fine-tuning by changing the generated effect" to jump to the detailed editing page.

Quickly build a website with AI programming assistant, no coding required the whole time

For example, the header image has nothing to do with the diet, you can select the image component area, adjust the background image properties to replace the image link can be. Some unused page layout, selected directly delete can be, such as: black title bar at the top of the page.

Quickly build a website with AI programming assistant, no coding required the whole time

You can see that there is a "Learn More" button, how do I add a click event to the button?

Quickly build a website with AI programming assistant, no coding required the whole time

Select the button component, see the right side of the "Properties" configuration has an "Event" select "Click".

Quickly build a website with AI programming assistant, no coding required the whole time

Find the "Open Page" function

Quickly build a website with AI programming assistant, no coding required the whole time

The top left corner switches to H5 mode, which defaults to applet mode (applets don't support jump links)

Quickly build a website with AI programming assistant, no coding required the whole time

The configuration is as follows:

Mode: Jump Page

Jump method: external link

Link: Enter link

Routing method: opens in a new window

Quickly build a website with AI programming assistant, no coding required the whole time

A new custom module can be dragged and dropped [AI CodeBlock] component to the location you want to add it to, e.g. drag and drop it under the "Learn More" module.

Quickly build a website with AI programming assistant, no coding required the whole time

Then click on the "Properties" area on the right and select "Edit JSX Code" to bring up the edit dialog box.

Quickly build a website with AI programming assistant, no coding required the whole time

In the dialog input box, enter the requirements to generate the layout, for example:

  1. ,,
  2. ]()
  3. ]()
  4. ]()

The effect is as follows:

Quickly build a website with AI programming assistant, no coding required the whole time

The overall generation is good, if you are not satisfied you can generate a few more times.

Quickly build a website with AI programming assistant, no coding required the whole time

If you want to modify the copy or jump links in the code block, you can find the relevant content in the generated code to modify it.

Quickly build a website with AI programming assistant, no coding required the whole time

Finally, we will generate a form layout to collect user information. Because the collected data needs to be stored in the "Database", you need to create a data table for storing the data first, select "Cloud Database" in the right menu and then click the "+" sign to add a new data model.

Quickly build a website with AI programming assistant, no coding required the whole time

Creating a schema: creating a database and configuring the data model

Creation method: create from blank

Write to database: cloud database (document-based)

Quickly build a website with AI programming assistant, no coding required the whole time

Model name: user information

Model identification: copilot-application

Configuration fields (name, logo, type)

  • Phone, tel, text
  • Name, name, text

Click "Finish" in the lower right corner when the configuration is complete.

Quickly build a website with AI programming assistant, no coding required the whole time

Then switch to "Visual Development" again via the left menu and continue to insert "AI Code Blocks" to generate form layouts and enter commands:

  1. ,,,, ,.- - = ..(); =. {} = [].({ : { : , , }});

The effect is as follows:

Quickly build a website with AI programming assistant, no coding required the whole time

Then click on the top right corner to switch to "Official Data" to preview the form filling.

Quickly build a website with AI programming assistant, no coding required the whole time

A successful status is displayed when the form is filled out successfully.

Quickly build a website with AI programming assistant, no coding required the whole time

To view user data, you need to switch to "Cloud Database" and select the user data model to view.

Quickly build a website with AI programming assistant, no coding required the whole time

Confirm the effect and functionality is correct and click publish in the upper right corner to get the online access link and QR code.

at last

I hope you can keep up with the pace of the AI era, with AI programming assistant belongs to their own product official website, there are questions welcome to leave a message to discuss.

statement:The content of the source of public various media platforms, if the inclusion of the content violates your rights and interests, please contact the mailbox, this site will be the first time to deal with.
TutorialEncyclopedia

Make multiple animal fusion videos with AI, 1 minute to teach you to learn to make explosive animal fusion mutation videos

2024-11-20 9:52:56

TutorialEncyclopedia

AI elimination tool how to use for free, with AI tools (tencent yuanbao) quickly will eliminate unwanted people or objects

2024-11-21 11:53:44

Search