vue-ssr-dev-with-webpack-express

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

MIT License

Stars
0
Committers
1

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

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 [email protected]

contributor

eteplus [email protected]

License

MIT