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

build folder missing? #1

Open
christabella opened this issue Mar 31, 2017 · 2 comments
Open

build folder missing? #1

christabella opened this issue Mar 31, 2017 · 2 comments

Comments

@christabella
Copy link

Dear 时见疏星,

I read your blogpost and you mentioned that there was a folder generated by vue init webpack:

build(vue)和_build(phoenix),一个存放webpack配置文件,一个则是phoenix项目编译后的文件

However in this git repo I see that you have... removed it and replaced it with webpack.config.js in the root folder? Is this correct? I am a little confused as I want to create a project with Vue, Phoenix and Webpack too!

I was following your instructions on http://www.jianshu.com/p/aa36b7d59734 and using vue init webpack but the project structure generated was different from this repo, e.g. the missing build folder in this repo. Should I use this repo as a template instead?

@loongmxbt
Copy link
Owner

My post is a little bit confusing. The correct step is

  1. Use mix phoenix.new --no-brunch proj_name
  2. vue init webpack proj_name
  3. config/dev.exs watchers: [node: ["webpack/dev-server.js"]]

@christabella
Copy link
Author

Hi @loongmxbt, thank you for your reply! I was just wondering what happened to your /build folder (containing dev-server.js, webpack.base.conf.js, webpack.dev.conf.js... etc.) that got generated with the vue init webpack proj_name part? I guess you deleted the entire /build folder and replaced it with webpack.config.js in the root directory.

image
What my project structure looks like after following the steps above!

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