Skip to content

Commit

Permalink
Merge pull request #214 from eweitz/update-vue-example
Browse files Browse the repository at this point in the history
Update Vue example
  • Loading branch information
eweitz authored Jul 1, 2020
2 parents dcfb9c5 + 498bc8b commit 3ad0407
Show file tree
Hide file tree
Showing 6 changed files with 14,654 additions and 9,556 deletions.
2 changes: 1 addition & 1 deletion examples/vue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ More examples showing the breadth of Ideogram's functionality are at https://ewe
# Install

``` bash
git clone origin https://github.com/eweitz/ideogram
git clone https://github.com/eweitz/ideogram
cd ideogram/examples/vue
npm install
npm run dev
Expand Down
3 changes: 3 additions & 0 deletions examples/vue/build/webpack.dev.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ const baseWebpackConfig = require('./webpack.base.conf')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')
const portfinder = require('portfinder')
const VueLoaderPlugin = require('vue-loader/lib/plugin')


const HOST = process.env.HOST
const PORT = process.env.PORT && Number(process.env.PORT)
Expand Down Expand Up @@ -44,6 +46,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
new webpack.HotModuleReplacementPlugin(),
new webpack.NamedModulesPlugin(), // HMR shows correct file names in console on update.
new webpack.NoEmitOnErrorsPlugin(),
new VueLoaderPlugin(),
// https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: 'index.html',
Expand Down
Loading

0 comments on commit 3ad0407

Please sign in to comment.