差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン | ||
javascript:yarn [2020/06/20 11:34] – [Yarn - パッケージ マネージャ] ともやん | javascript:yarn [2020/06/26 08:09] – [Vue.js プロジェクトの実行] ともやん | ||
---|---|---|---|
行 1201: | 行 1201: | ||
Done in 8558.43s. | Done in 8558.43s. | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ==== Vue.js プロジェクトの実行 ==== | ||
+ | プロジェクトのディレクトリに入る。\\ | ||
+ | <WRAP prewrap 100%> | ||
+ | <code powershell> | ||
+ | $ cd vue_project | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | プロジェクトの実行。\\ | ||
+ | <WRAP prewrap 100%> | ||
+ | <code powershell> | ||
+ | $ yarn serve | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP prewrap 100% # | ||
+ | <code powershell> | ||
+ | yarn run v1.22.4 | ||
+ | warning ..\package.json: | ||
+ | $ vue-cli-service serve | ||
+ | | ||
+ | Starting type checking and linting service... | ||
+ | Using 1 worker with 2048MB memory limit | ||
+ | 98% after emitting CopyPlugin | ||
+ | |||
+ | | ||
+ | |||
+ | WARNING in C:/ | ||
+ | 10:53 Missing semicolon | ||
+ | 8 | < | ||
+ | 9 | // @ is an alias to /src | ||
+ | > 10 | import HelloWorld from ' | ||
+ | | ||
+ | 11 | | ||
+ | 12 | export default { | ||
+ | 13 | name: ' | ||
+ | WARNING in C:/ | ||
+ | 15:15 Missing trailing comma | ||
+ | 13 | name: ' | ||
+ | 14 | | ||
+ | > 15 | | ||
+ | | ||
+ | 16 | } | ||
+ | 17 | } | ||
+ | 18 | </ | ||
+ | WARNING in C:/ | ||
+ | 16:4 Missing trailing comma | ||
+ | 14 | | ||
+ | 15 | | ||
+ | > 16 | } | ||
+ | | ||
+ | 17 | } | ||
+ | 18 | </ | ||
+ | 19 | | ||
+ | WARNING in C:/ | ||
+ | 17:2 Missing semicolon | ||
+ | 15 | | ||
+ | 16 | } | ||
+ | > 17 | } | ||
+ | | ||
+ | 18 | </ | ||
+ | 19 | | ||
+ | No type errors found | ||
+ | Version: typescript 3.9.5, tslint 5.20.1 | ||
+ | Time: 15474ms | ||
+ | |||
+ | App running at: | ||
+ | - Local: | ||
+ | - Network: unavailable | ||
+ | |||
+ | Note that the development build is not optimized. | ||
+ | To create a production build, run yarn build. | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | [[http:// | ||
+ | {{javascript: | ||
+ | |||
+ | ===== メモ ===== | ||
+ | **Compass を有効にする。**\\ | ||
+ | <WRAP prewrap 100%> | ||
+ | < | ||
+ | $ yarn add compass-mixins | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP prewrap 100% #result> | ||
+ | < | ||
+ | yarn add v1.22.4 | ||
+ | warning ..\package.json: | ||
+ | [1/4] Resolving packages... | ||
+ | [2/4] Fetching packages... | ||
+ | info fsevents@2.1.3: | ||
+ | info " | ||
+ | info fsevents@1.2.13: | ||
+ | info " | ||
+ | [3/4] Linking dependencies... | ||
+ | warning " | ||
+ | warning " | ||
+ | warning " > sass-loader@8.0.2" | ||
+ | [4/4] Building fresh packages... | ||
+ | success Saved lockfile. | ||
+ | success Saved 1 new dependency. | ||
+ | info Direct dependencies | ||
+ | └─ compass-mixins@0.12.10 | ||
+ | info All dependencies | ||
+ | └─ compass-mixins@0.12.10 | ||
+ | Done in 24.40s. | ||
</ | </ | ||
</ | </ |