lukeed / preact-cli-ssr

A quick demo for adding SSR to a Preact CLI app
https://preact-cli-ssr.now.sh/
MIT License
79 stars 9 forks source link

import src/components in server #5

Open vaibhavkhl12 opened 6 years ago

vaibhavkhl12 commented 6 years ago

Hi, I want to use preact components in server.js instead of ssr-build. Is it possible to use preact-cli for this? Or I need to write own webpack/babel configurations for that?

DilipCoder commented 6 years ago

i am using unistore and want to provide state on server side also how can i do it preact-cli. server.js is in my project root directory