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

No CSS Displayed #44

Open
thinkinsysdev opened this issue Apr 7, 2017 · 4 comments
Open

No CSS Displayed #44

thinkinsysdev opened this issue Apr 7, 2017 · 4 comments

Comments

@thinkinsysdev
Copy link

thinkinsysdev commented Apr 7, 2017

Newbie to laravel,
Followed the instructions, but when I deployed the site, no CSS is being pulled.

Getting 404 errors

http://someline.app/assets/css/app.main.css
(index):12 GET http://someline.app/assets/css/app.vendor.css
(index):11 GET http://someline.app/assets/css/app.theme.css
(index):365 GET http://someline.app/assets/js/manifest.js
(index):364 GET http://someline.app/assets/js/app.vendor.js
(index):363 GET http://someline.app/assets/js/app.theme.js
(index):366 GET http://someline.app/assets/js/vendor.js
(index):367 GET http://someline.app/assets/js/app.main.js
(index):364 GET http://someline.app/assets/js/app.vendor.js
(index):365 GET http://someline.app/assets/js/manifest.js
(index):366 GET http://someline.app/assets/js/vendor.js
(index):367 GET http://someline.app/assets/js/app.main.js 404 (Not Found)

I have tried following the steps but no dice.

@geoidesic
Copy link

+1

@geoidesic
Copy link

I have found that there is an app.theme.css in /assets/theme/ folder but I'm not sure why the theme is not being compiled to the CSS folder. I think it might have something to do with Elixir (https://laravel.com/docs/5.3/elixir) however, the installation instructions for Elixir state that the default package.json file for Laravel includes Elixir and Webpack – but this does not seem to be present for someline starter.

@geoidesic
Copy link

I notice that in the project folder there is a webpack.config.js file. So presumably this application is making use of webpack. I haven't managed to install and run webpack yet so I can't confirm whether this fixes the problem or not.

@geoidesic
Copy link

geoidesic commented Jun 4, 2017

OK I found the problem. Need to run npm run watch to build the assets :) As it says in the documentation.

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