Skip to content

YMC-GitHub/vue-ssr-dev-with-webpack-express

Repository files navigation

vue-ssr-dev-with-webpack-express

desc

vue app develop with webpack + express (ssr mode)

note: you can also start your project with Vue CLI

screenshot

project diretory constructor

get detail here

some important deps for ssr develop

  • eslint (lint .js .vue file)
  • babel (handle es6+)
  • webpack (pack lib)
  • postcss (handle css style with future feat)
  • node-sass (handle sass/scss style (optional))
  • less (handle less style (optional))

note: remember to take care of their version with each other.

some config

01.what is the entry for ssr client? config

02.what is the entry for ssr server? config

06.use eslint to lint with project config config

todos ...

some command

# install dependencies
npm install # or yarn install

# serve in dev mode, with hot reload at localhost:xxxx
npm run dev

# build for production
npm run build

# serve in production mode
npm start

author

yemiancheng ymc-github@gmail.com

contributor

eteplus eterplus@gmail.com

License

MIT

About

run vue app development with webpack + express (ssr mode)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published