Coder Social home page Coder Social logo

Comments (6)

ultimateshadsform avatar ultimateshadsform commented on July 19, 2024

Or should hmm still have some issue.

Edit: Also change src\background\index.ts files to reflect html files:
image

from vite-vue3-chrome-extension-v3.

ultimateshadsform avatar ultimateshadsform commented on July 19, 2024

Also a life improvement you can add include: ['vue', '@vueuse/core', 'vue-router', 'pinia'] to the include thing in vite config.

from vite-vue3-chrome-extension-v3.

mubaidr avatar mubaidr commented on July 19, 2024

I have finally fixed it!

Can you please tell me what problem you are trying to solve here?

I understand that this could be another way to organize project, but I just want to know what problem occurred.

from vite-vue3-chrome-extension-v3.

ultimateshadsform avatar ultimateshadsform commented on July 19, 2024

So you don't have src folder in production

from vite-vue3-chrome-extension-v3.

mubaidr avatar mubaidr commented on July 19, 2024

To be honest, I don't like this pattern for two reasons:

  • literally there is no harm in having src directory in output folder. In fact, it may be helpful at times when you want to see what files are in distribution.
  • Currently all related files are in one dir for each page (popup, setup etc). This make sure utilities and related script/ css and be placed next to these for ease & management.

from vite-vue3-chrome-extension-v3.

ultimateshadsform avatar ultimateshadsform commented on July 19, 2024

Yeah it's a preference.

from vite-vue3-chrome-extension-v3.

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.