modesty / react2html Goto Github PK
View Code? Open in Web Editor NEWA component based web site starter kit and build tool, built with ReactJS, SASS, Babel, WebPack and Node.js.
License: MIT License
A component based web site starter kit and build tool, built with ReactJS, SASS, Babel, WebPack and Node.js.
License: MIT License
Hi,
frist of all thank you for this template and the whole idea. This is totally what I had in my mind and what I was looking for. ๐
However I have some problems with the build scripts right after installing the npm dependencies. npm run build
command fails:
$ npm run build
> [email protected] build C:\WebSites\react2html
> npm run clean-target && npm-run-all --parallel build:asset build:page build:bundle
> [email protected] clean-target C:\WebSites\react2html
> babel-node ./tool/build.cleanup.js
pre-build: empty target directory ...
โ Success: C:\WebSites\react2html/target is cleaned up.
> [email protected] build:asset C:\WebSites\react2html
> babel-node ./tool/build.asset.js
> [email protected] build:page C:\WebSites\react2html
> babel-node ./tool/build.page.js
> [email protected] build:bundle C:\WebSites\react2html
> babel-node ./tool/build.bundle.js
build resources: copy meta files ...
copied file: apple-touch-icon.png
copied file: browserconfig.xml
copied file: crossdomain.xml
copied file: favicon.ico
copied file: humans.txt
copied file: robots.txt
copied file: tile-wide.png
copied file: tile.png
copied file: logo.png
transform page => ..\target/
copied file: .htaccess
transform page => ..\target\about/
transform page => ..\target\contact/
=== Generating minified bundle ...
โ Error: Webpack - v1.13.3 - : react2html-bundle.js from UglifyJs
SyntaxError: Unexpected token: string (../styles/main.scss) [./src/scripts/main.js:3,0]
I tried to solve this problem and got some clues that the babel-loader
might not be transpilling the files.
Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.