/react-accordeon-documentation-page

Documentation page for the React Accordeon component (react-accordeon).

Primary LanguageJavaScript

Development

###index.html Use the script tag:

  <script src="./static/app.bundle.js"></script>

###webpack.config.js

path: path.join(__dirname, 'bin'),
publicPath: '/static/',

###Start the server In the command line interface run:

npm run start

Production

###index.html Use the script tag:

  <script src="./js/app.bundle.js"></script>

###webpack.config.js

path: path.join(__dirname, 'js'),
publicPath: '/react-accordeon/js/',
.
.
.
new webpack.optimize.OccurenceOrderPlugin(),
new webpack.optimize.DedupePlugin(),
new webpack.optimize.UglifyJsPlugin({
  minimize: true
})

###Prepare the assets In the command line interface run:

npm run build-production