Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/postlagerkarte/easywebpackforrazorpages
Add Webpack to ASP.NET CORE Razor Pages
https://github.com/postlagerkarte/easywebpackforrazorpages
asp-net-core razor-pages webpack
Last synced: 4 days ago
JSON representation
Add Webpack to ASP.NET CORE Razor Pages
- Host: GitHub
- URL: https://github.com/postlagerkarte/easywebpackforrazorpages
- Owner: Postlagerkarte
- License: mit
- Created: 2019-08-30T19:36:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T09:15:47.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T00:01:33.064Z (over 1 year ago)
- Topics: asp-net-core, razor-pages, webpack
- Language: C#
- Homepage:
- Size: 626 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Add Webpack to ASP.NET CORE Razor Pages
This VS extension provides you with a an effective and quick start for using Razor Pages together with webpack.
Grab the extension [here](https://github.com/Postlagerkarte/EasyWebpackForRazorPages/releases/download/v1.1/EasyWebpackInstaller.vsix) or clone the repository.
If you create a project with this template you can instantly use npm to install packages. The default Razor Page template includes Bootstrap 4 and jQuery via a CDN - in this template those dependencies also are installed via npm.
You put your source files into the /src folder:
Those are moved automatically to your www/dist folder:
Use npm install packagename to install your package.
Import the package in your sourcefiles.
Use npm run build or npm run watch to start webpack.