/vue-vs-react-battleship

This is a sample app for comparing the frameworks react and vue.js

Primary LanguageJavaScript

How to start the battleships

vue-battleship

A Vue.js project based on vue-cli's Webpack template to compare Vue.js and React. Companion repo: https://github.com/tonihauptcc/vue-vs-react-battleship/tree/master/react-battleship

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

react-battleship

This project was bootstrapped with Create React App.

Sample app used to compare against Vue.js. Companion repo: https://github.com/tonihauptcc/vue-vs-react-battleship/tree/master/vue-battleship

Build Setup

Run npm install to install all dependencies.

npm start or yarn start

Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will see the build errors and lint warnings in the console.

By default, it also includes a service worker so that your app loads from local cache on future visits.