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

Template question/issue #282

Open
hanvari opened this issue Feb 7, 2018 · 3 comments
Open

Template question/issue #282

hanvari opened this issue Feb 7, 2018 · 3 comments

Comments

@hanvari
Copy link

hanvari commented Feb 7, 2018

Hi,

I am creating a multi-page app, using templates for pages. I had added side-panel and other page components on main index.html. They work fine on homepage. But when transitioning into the other pages the side-panel, floating button, etc. stop working.

I'm assuming that I don't have to include all the shared components of the app in every single page html code. Isn't that true?

@qathom
Copy link
Contributor

qathom commented Feb 10, 2018

Hi @hanvari,

You need to include Phonon in the default index.html, page templates should not include dependencies such as jQuery, etc.
Can you please provide some relevant code so that I can help you?

@hanvari
Copy link
Author

hanvari commented Feb 11, 2018

Hi @qathom,

Thanks for your reply. Phonon is included in default index.html.

I believe I have found the problem. I had to update the data-page="home, pagetwo" for my new app pages to work correctly. Is there anyway to enable the side-panel for all app pages without having to list them all in data-page attribute?

@qathom
Copy link
Contributor

qathom commented Feb 13, 2018

Hi @hanvari,

Currently it is not possible, this issue will be fixed in the v2.

@qathom qathom added the v1 label Jul 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants