Skip to content

drginm/simple-vue-tensorflow

Repository files navigation

simple-vue-tensorflow

Built using vue init drginm/tensorflow-js-vuejs-starter-template simple-vue-tensorflow

Nuxt.js project

Build Setup

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

# generate static project inside a subfolder
$ npm run generate:use-subfolder

For detailed explanation on how things work, checkout the Nuxt.js docs.

https://github.com/vuejs-templates/webpack https://github.com/nuxt-community/starter-template https://nuxtjs.org/guide/installation https://vuejs.org/v2/guide/installation.html

For serving the generated files

npm install -g serve serve ./dist