Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Craft init needs a public path? #432

Closed
gregkohn opened this issue May 8, 2017 · 2 comments
Closed

Craft init needs a public path? #432

gregkohn opened this issue May 8, 2017 · 2 comments
Assignees

Comments

@gregkohn
Copy link
Contributor

gregkohn commented May 8, 2017

Looks like I needed to add:

publicPath: "/assets/javascripts"
@mzlock
Copy link
Contributor

mzlock commented May 8, 2017

@gregkohn Where did you need to add this, exactly?

@dipsynl
Copy link

dipsynl commented May 9, 2017

I've also faced to this problem. In the task-config.js file you need to add:
publicPath: '/assets/javascripts'

to the javascript array. So it looks default like this way:
javascripts: { publicPath: '/assets/javascripts', entry: { app: ["./app.js"] } }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants