Code Monkey home page Code Monkey logo

vue3-vite-ssr-example's People

Contributors

tbgse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vue3-vite-ssr-example's Issues

access to server in dev mode

Hello mr. In Dev mode file entry-server.js not work. Only entry-client work. How i can access to web server in dev mode? In prod all work fine! How fix it? In this case i not can work.

Can you adjust the example by adding the client side build too, and hydration?

Hi Tobias, I've watched closely vitejs/vite#711, and tried to replicate that setup, but somehow I'm missing some steps. The example here is not even close to the findings in the above mentioned issue.

Is it possible to adapt this example to showcase a full SSR ( with client side hydration) example with Vite?

This would be much appreciated, as this is not mentioned anywhere at this moment.

Thank you

set port

Hello, nice project. How i can set http port? always 3000,
and what is this

entry-server.js

server.listen(8080); ????????

main.js

console.log('started server on port 3010');
server.listen(3010);

3 ports ? work only 3000 ?? where is he

And npm run serv not work - problem with path - need without src


D:\js\test>npm run serve

> [email protected] serve
> node dist/server/src/entry-server

node:internal/modules/cjs/loader:903
  throw err;
  ^

Error: Cannot find module 'D:\js\test\dist\server\src\entry-server'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:90

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.