Giter VIP home page Giter VIP logo

Comments (7)

andriimanundin27 avatar andriimanundin27 commented on June 28, 2024 1

vuese gen --outDir="public/general/docs" --markdownDir="comp"
i find html file, but when
vuese serve --open --outDir="public/general/docs"
it just shows error: Unknown option --outDir

from vuese.

HcySunYang avatar HcySunYang commented on June 28, 2024

Quick solution: use configuration file instead of command line.

// vuese.config.js
module.export = {
    outDir: 'some/folder/path'
}

from vuese.

HcySunYang avatar HcySunYang commented on June 28, 2024

Or vuese serve --open --outDir="resources/docs/1.0/vuese"

from vuese.

HcySunYang avatar HcySunYang commented on June 28, 2024

I think this is not a bug πŸ˜„.

from vuese.

QuinnBast avatar QuinnBast commented on June 28, 2024

I'm getting the same error as @andriimanundin27. You cannot use the --outDir flag when using vuese serve, You get the error Unknown option --outDir

Steps to reproduce:

  1. vuese gen --outDir="something/not/default"
  2. vuese serve --open -- produces a 404 not found
  3. vuese serve --open --outDir -- produces a 404 not found

from vuese.

HcySunYang avatar HcySunYang commented on June 28, 2024

@janiskelemen @HcySunYang
I made a patch, please use: @vuese/[email protected]

from vuese.

Alligatore3 avatar Alligatore3 commented on June 28, 2024

I think this is not a bug.

I don't think so πŸ˜„

this is my vuese.config:

module.exports = {
  /**
   * @description Output directory of the docute document.
   * {@link https://vuese.org/cli/#outdir}
   */
  outDir: 'documentation',
  include: ['./components/**/*.vue', './pages/**/*.vue'],
  genType: 'docute',
  title: 'Performer'
}

And this is my script:

  "scripts": {
    "dev": "nuxt",
    "doc": "vuese gen && vuese serve --open --outDir=\"documentation\"",
...

Finally I'm using:

npm list -g | grep vuese

β”œβ”€β”¬ @vuese/[email protected]
β”‚ β”œβ”€β”€ @vuese/[email protected]
β”‚ β”œβ”€β”¬ @vuese/[email protected]

I've also tried with and without option --outDir in my script but nothing change.
Thanks.

from vuese.

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.