Giter VIP home page Giter VIP logo

Comments (7)

jadjoubran avatar jadjoubran commented on May 26, 2024 1

This is now available for testing 🎉

if anyone's interested in testing it, please run the following and let me know if it works for you or not:

Install it globally

npm install -g webdash@next
#run webdash serve in your project:
webdash serve

Install it locally

npm install --save-dev webdash@next
npx webdash serve

from webdash.

jadjoubran avatar jadjoubran commented on May 26, 2024 1

the config file should always be in the project.. I don't think it'll ever be possible to move it outside as all the values will change from 1 project to another (for example manifestPath will be different from project to another)

For the plugins, for now yes they have to be installed locally..
does it make sense to allow them to work globally?
Especially that they differ from project to project & if we look at other tools (like grunt & webpack) I think they require you to have the plugins installed locally

from webdash.

jadjoubran avatar jadjoubran commented on May 26, 2024

Behavior right now:
screen shot 2018-03-27 at 2 30 56 pm

app-root is returning the global node modules path, where it should look for where it's being run from

from webdash.

kakadiadarpan avatar kakadiadarpan commented on May 26, 2024

@jadjoubran What about the plugins, do we have to install them locally in our project and maintain the config file there?

from webdash.

kakadiadarpan avatar kakadiadarpan commented on May 26, 2024

Makes sense! 😄

from webdash.

jadjoubran avatar jadjoubran commented on May 26, 2024

it seems this is broken because is-global is returning true when webdash is installed with npm install webdash --save-dev which is breaking the paths
Will be available in 1.4 instead

from webdash.

jadjoubran avatar jadjoubran commented on May 26, 2024

Due to the nature of this feature, it must be tested with an npm prerelease:
available in version: v1.4.0-2

Test instructions

Local

npm install --save-dev webdash@next
npx webdash serve

Global

npm install -g webdash@next
webdash serve

from webdash.

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.