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

Cant open HTML in Browser #546

Open
exuberantsam opened this issue Mar 17, 2019 · 1 comment
Open

Cant open HTML in Browser #546

exuberantsam opened this issue Mar 17, 2019 · 1 comment

Comments

@exuberantsam
Copy link

Im looking for offline version of UIGradients and I found this one, sorry for the noob question but why I cant open local HTML files (index.html) in chrome browser? It just keeps loading for like 10 mins and then stops and still blank.

@acupoftee
Copy link

Good question! If you're opening index.html at the root directory, it won't render all the elements. This is because we need to compile all of the .vue files in src. When we bundle and compile all the app files with Node, it'll automatically inject the Vue components into this div:

    <div id="app"></div>
    <!-- built files will be auto injected -->

To run the app locally, run npm start. This will build a deployable version of the site and open a new tab with the site running.

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