0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

angular のwebpack部分をカスタマイズする

Last updated at Posted at 2018-02-10

django上のtemplate下にindex.htmlをstatic下に*.bundle.jsを配置したいと思いまして
Angularの設定項目を探したところng ejectをしなさいという記事を見つけたので
やってみたところ
webpack絡みのコマンドはng * では提供されなくなりますよ
npm *を使ってくださいね、という話ですね。
備忘録ですね。

ng eject

==========================================================================================
Ejection was successful.

To run your builds, you now need to do the following commands:
   - "npm run build" to build.
   - "npm test" to run unit tests.
   - "npm start" to serve the app using webpack-dev-server.
   - "npm run e2e" to run protractor.

Running the equivalent CLI commands will result in an error.

==========================================================================================
Some packages were added. Please run "npm install".

しかしながらindex.htmlと*.bundle.jsを上手く分けれなかったので
Angularは諦めてVuejsでやることにした。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?