Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add namespaces for components / pages #36

Open
eWert-Online opened this issue Mar 27, 2024 · 0 comments
Open

Add namespaces for components / pages #36

eWert-Online opened this issue Mar 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@eWert-Online
Copy link
Member

There should be some kind of namespace option, for component libraries to be viable in pinc.
Currently without namespaces, it would still be possible, as you could just prefix your component with a namespace (Pinc_Button, PincButton, ...).

It could also be an option to allow some more characters in definition identifiers (:, ., ...).

A possible syntax for namespaces could be:

component Button(namespace: "Pinc") {
  // ...
}

component Something {
  <div>
    <Pinc.Button />
  </div>
}
@eWert-Online eWert-Online added the enhancement New feature or request label Mar 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant