Code Monkey home page Code Monkey logo

Comments (7)

csr632 avatar csr632 commented on May 25, 2024 1

Thanks for opening this issue. Seems to be a windows issue. I will look into this.

from vite-plugin-react-pages.

csr632 avatar csr632 commented on May 25, 2024 1

This is fixed in latest init script. Checkout https://vitejs.github.io/vite-plugin-react-pages/#/ for the latest init script.

from vite-plugin-react-pages.

MatejBransky avatar MatejBransky commented on May 25, 2024

Btw what's differently in your fork of the create-vite-app?

from vite-plugin-react-pages.

csr632 avatar csr632 commented on May 25, 2024

Btw what's differently in your fork of the create-vite-app?

I added two more template for vite-pages.
The code is in this branch: vitejs/create-vite-app#38

from vite-plugin-react-pages.

MatejBransky avatar MatejBransky commented on May 25, 2024

Ok, I think it would be good to mention that it can be done by the manual way where you can just use the official template with React and after that you can just install these two plugins (MDX, React pages) and do other small changes (folder structure, index.html). It can be in a section called something like "advanced getting started" or something like that.
What do you think?

from vite-plugin-react-pages.

csr632 avatar csr632 commented on May 25, 2024

Yes, a "set up manually" guide is a nice to have.
But I still think the scaffold cli is necessary. The scaffold contains examples of fs routing, static data notation, MDX, React pages. It helps user learn the basic ideas without even reading the doc carefully!

from vite-plugin-react-pages.

csr632 avatar csr632 commented on May 25, 2024

I am on a travel and don't have access to a windows computer for now. I will look into windows issue in about 5 days. Hope you have a linux/macos environment to try it for now!

from vite-plugin-react-pages.

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.