简体   繁体   中英

Starting with Spark Laravel

I'm trying Spark and, after install it, I have two problems:

1.- When I try 'Log in' and 'Register' buttons, I get this. It is like if my web page with no style. Any idea what I am doing wrong?

2.- On the other hand, I'm following the Quickstart guide and I'm trying this:

"Once Spark is installed, make sure the NPM dependencies have been installed via the npm install command, the gulp command has been executed, and the database migrations have ran."

I'm running npm install in my Terminal and I'm getting this: -bash: npm: command not found .

I did some things with Laravel more than one year ago, and it was with no Homestead. Probably I'm doing something wrong... I'm pretty confusing.

Any help would be really appreciated! :)

You will need to install node and npm:

https://docs.npmjs.com/getting-started/installing-node

Once node is up and running you should be able to run "gulp" from within your application's main folder. This will generate (among other things) the CSS that you're currently missing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM