Giter Club home page Giter Club logo

Comments (6)

AkiraLaine avatar AkiraLaine commented on May 22, 2024

Yes. That's where you should put them. https://simulatedgreg.gitbooks.io/electron-vue/content/docs/using_the_file_structure.html 😄

from electron-vue.

erguotou520 avatar erguotou520 commented on May 22, 2024

That folder is ignored due to app/dist/ in .gitignore. I try to change the file to

.DS_Store
Thumbs.db
node_modules/
app/dist/
dist/
!app/dist/static/
releases/
npm-debug.log*
selenium-debug.log
test/unit/coverage
test/e2e/reports

but /app/dist/static folder is still ignored. Please help.

from electron-vue.

AkiraLaine avatar AkiraLaine commented on May 22, 2024

You need to remove all tracked files and then re-add them.

git rm -r —cached .

Then just git add -A and commit as you normally would.

from electron-vue.

erguotou520 avatar erguotou520 commented on May 22, 2024

Are sure? My repo is here
After

git rm -r —cached .
git add -A

my src goes empty while /app/dist/static is still ignored.

from electron-vue.

SimulatedGREG avatar SimulatedGREG commented on May 22, 2024

Looking at your repo I can tell that you originally started with a different boilerplate. And from looking at the commits you also tried to manually switch to using electron-vue. Although possible, I am unable to fully know what changes you made. I would recommend starting fresh with electron-vue and moving over necessary Vue components files to ensure things like .gitignore and project structure are best optimized for electron-vue. I previously closed this issue as there's no internal problem with electron-vue itself, but more of problems related to migrating to electron-vue.

from electron-vue.

erguotou520 avatar erguotou520 commented on May 22, 2024

Yes, it based on electron-boilerplate-vue firstly. But I really start fresh with electron-vue, just copy files from previous project. I'll try it again.

from electron-vue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.