praxisnetau / silverstripe-module-starter Goto Github PK
View Code? Open in Web Editor NEWSilverStripe Module Starter Kit
License: BSD 3-Clause "New" or "Revised" License
SilverStripe Module Starter Kit
License: BSD 3-Clause "New" or "Revised" License
Hi,
First of all many many thanks for setting up this supernice and much needed module!!!
I've run into a couple of small config issues that I'll address in one topic, if you don't mind :)
yarn.lock should probably be added to .gitignore I think
running yarn install fails with:
The engine "node" is incompatible with this module. Expected version "^4.2.0".
That's because I'm using v8.6.0 and in package.json you have
"engines": {
"node": "^4.2.0"
},
Could that just be removed, you think?
running yarn build fails with:
[copy-webpack-plugin] WARNING - unable to locate 'mymodule/admin/client/src/images/icons'...
That directory isn't actually created, but referenced in webpack.config.js #127:
if (src === PATHS.ADMIN.SRC) {
common.push(
new CopyWebpackPlugin([
{ from: path.resolve(src, 'images/icons'), to: 'images/icons' }
])
);
}
Should this be removed or should there be an actual icons folder. And is it supposed to contain icons?
Cheers, Martine
Hi,
Btw: If you're writing SilverStripe admin module, you might want to add the @silverstripe module and implement its features in webpack.config.js
This makes it real easy to use SilverStripe components and other stuff in your React modules. Found out this week, working on my first SilverStrip Admin module try-out :-).
Martine
Hi,
Maybe document a few extra comments on how to build a brandnew repo for the newly created module? Because it basically still starts out as your repo :-)
Here's how I did it - might not be the best way, so please have a look, comments are welcome.
I started by creating an empty repo on Github
If you agree I will gladly make a pulll
Martine
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.