Skip to content

Commit 5e68c92

Browse files
committed
fix document
1 parent f61cc81 commit 5e68c92

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

docs/content/doc/developers/guidelines-frontend.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@ We recommend [Google HTML/CSS Style Guide](https://google.github.io/styleguide/h
3939
6. The backend can pass complex data to the frontend by using `ctx.PageData["myModuleData"] = map[]{}`
4040
7. Simple pages and SEO-related pages use Go HTML Template render to generate static Fomantic-UI HTML output. Complex pages can use Vue2 (or Vue3 in future).
4141

42-
## Legacy Problems and Solutions
43-
44-
### Too much code in `web_src/index.js`
45-
46-
Previously, most JavaScript code was written into `web_src/index.js` directly, making the file unmaintainable.
47-
Try to keep this file small by creating new modules instead. These modules can be put in the `web_src/js/features` directory for now.
48-
4942
### Vue2/Vue3 and JSX
5043

5144
Gitea is using Vue2 now, we plan to upgrade to Vue3. We decided not to introduce JSX to keep the HTML and the JavaScript code separated.

0 commit comments

Comments
 (0)