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 do you use --path/-p? #75

Open
shammellee opened this issue Sep 9, 2018 · 1 comment
Open

How do you use --path/-p? #75

shammellee opened this issue Sep 9, 2018 · 1 comment

Comments

@shammellee
Copy link

Can someone please explain the --path flag and when and how to use it?

🙏

@CharlesKumar
Copy link

CharlesKumar commented Sep 18, 2018

I am also having the doubt

-p, --path <path>      filename used to resolve includes
-b, --basedir <path>   path used as root directory to resolve absolute includes

what is resolving includes mean here
either

  1. does it mean resolve includes as partial and do not render into html
  2. it is template name when using include (similar to basepath)
  3. resolve it as include and render in separate folder

I am also having another doubt, does pug-cli has any option to exclude directory

and found this comment useful

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