mirror of
				https://github.com/KevinMidboe/vue-chartjs.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	🐛 📝 Update README #112
This commit is contained in:
		| @@ -13,7 +13,7 @@ It abstracts the basic logic but exposes the chart.js object to give you the mos | ||||
| ## Installation | ||||
| If you are working with Vue.js 2+ simple run: | ||||
|  | ||||
| `yarn add vue-chartjs` | ||||
| `yarn add vue-chartjs chart.js` | ||||
|  | ||||
| If you are using vue 1.x please use the `legacy` tag. However the vue 1 version is not maintained anymore. | ||||
|  | ||||
|   | ||||
| @@ -13,7 +13,7 @@ It abstracts the basic logic but exposes the chart.js object to give you the mos | ||||
| ## Installation | ||||
| If you are working with Vue.js 2+ simple run: | ||||
|  | ||||
| `yarn add vue-chartjs` | ||||
| `yarn add vue-chartjs chart.js` | ||||
|  | ||||
| If you are using vue 1.x please use the `legacy` tag. However the vue 1 version is not maintained anymore. | ||||
|  | ||||
|   | ||||
| @@ -13,7 +13,7 @@ chart.jsの基本ロジックを抽象化していますが、公開されたcha | ||||
| ## インストール | ||||
| Vue.jsの Version2以上を使用している場合は簡単にインストールできます。: | ||||
|  | ||||
| `yarn add vue-chartjs` | ||||
| `yarn add vue-chartjs chart.js` | ||||
|  | ||||
| Vue.jsの Version 1.xを使用している場合は`legacy`タグを使用してください。しかし、vueのバージョン1はもうメンテナンスされません。 | ||||
|  | ||||
| @@ -315,4 +315,4 @@ Gulp、BrowserifyまたはWebpackのバージョン1を使用している場合 | ||||
| Vue.jsとChart.jsは `peerDependencies` なので別にインストールする必要があります。ほとんどのプロジェクトでは、Vue.jsはすでにインストールされているでしょう。この方法では、このパッケージと異なるバージョンのVue.jsとChart.jsを持つことができます。 | ||||
|  | ||||
| ### Webpack 2 | ||||
| Webpack 2を使用している場合、 `jsnext:main` または `module` に`es/index.js` を指定します。 ソースファイルは __トランスパイル__ されます。またmoduleには __バンドル__ されません。このようにすると `tree shaking` が動作します。バンドル版のように、`peerDependencies` で指定された `Vue.js` と `Chart.js` はインストールする必要があります。 | ||||
| Webpack 2を使用している場合、 `jsnext:main` または `module` に`es/index.js` を指定します。 ソースファイルは __トランスパイル__ されます。またmoduleには __バンドル__ されません。このようにすると `tree shaking` が動作します。バンドル版のように、`peerDependencies` で指定された `Vue.js` と `Chart.js` はインストールする必要があります。 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user