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

[Usage Problem]layout文件夹里面的.pug文件能像.ejs一样添加html语言吗,这个主题用pug而不是ejs给我整蒙了 #361

Open
Ezgx opened this issue Oct 10, 2022 · 3 comments

Comments

@Ezgx
Copy link

Ezgx commented Oct 10, 2022

如题

@Ezgx
Copy link
Author

Ezgx commented Oct 10, 2022

就是想添加自定义js,我之前在fluid里加了一个背景动态线条,fluid的layout用的ejs,你这个用pug,怎么加

@Ezgx
Copy link
Author

Ezgx commented Oct 10, 2022

ejs我用的是html加自定义js

@YunYouJun
Copy link
Owner

可参考这里:https://pugjs.org/api/getting-started.html

现在更推荐尝试使用 Valaxy 版本,可以更加自由地自定义,Vue template 也是原生的 HTML 语法。

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

2 participants