Skip to content
Asset Pipeline with Webpack on Phoenix
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
static
webpack
.browserslistrc
.editorconfig
.env
.env.defaults
.env.example
.eslintrc.js
.gitignore
.prettierrc.js
LICENSE
README.md
babel.config.js
package.json
postcss.config.js
yarn.lock

README.md

Asset pipeline using Webpack.

RTFM lazy programmer :D

What is inside?

  • Elm
  • Javascript
    • Babel
    • ESLint
    • Prettier
    • Service worker
  • CSS
    • SASS
    • PostCSS
      • CSSNext
      • CSSNano
  • Frameworks and Libraries
    • jQuery
    • Twitter Bootstrap 4
    • Font Awesome Icons

Setup

Clone the repo replacing the assets folder of your project

git clone git@github.com:yordis/phoenix_assets_webpack.git    path/to/assets
cd path/to/assets

Install the packages

npm install
# or if you prefer yarn
yarn install

Change the watchers on config/dev.exs file.

watchers: [npm: ["start", cd: Path.expand("../assets", __DIR__)]]

What's next?

Hack your setup. Open issues and Repeat.

You can’t perform that action at this time.