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

Installation issues and element not showing content #1

Open
DMTSource opened this issue Feb 7, 2017 · 2 comments
Open

Installation issues and element not showing content #1

DMTSource opened this issue Feb 7, 2017 · 2 comments

Comments

@DMTSource
Copy link

I installed the component via bower. I attempted to use a paper-code-mirror example from the demo but the content code is not showing.

In order to get the code-mirror to work in my polymer app I had to copy the vendor dir from the paper-code-mirror directory within bower components to the home directory of the site in order to prevent the file require.min.js from throwing errors as it could not find the vendor folder. However, vendor has to exist in both locations to prevent import errors.

At this point I had no errors. The code-mirror appears to be working however with formatting, number lines, and style being applied, but the initial text that should be shown is missing.

What is the correct installation process for using the paper-code-mirror with a site?

@dreammmr
Copy link
Owner

dreammmr commented Feb 7, 2017

Hey, I just pushed a new version without require.js. So try again and let me know if it works well.

@DMTSource
Copy link
Author

@AKHXtern thank you for the quick response! I re-bowered the package and no longer had errors due to vendor folder not being in root.

However, I am still not seeing the initial content inside the paper-code-mirror. Instead of showing any content it is blank(shows the cursor and "line 1"). I am trying to use examples from your demo code in the Polymer Starter Kit and one of its simple views in case that raises any red flags.

Thanks again for the help.

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