Comments (4)
Hello,
I don't really think typescript should be the default one. A lot of people going for Vue don't know TypeScript and it's sometime the reason why they choose Vue. We could still maintain it since it seems TypeScript is a good solution.
Considering VuePress, i quite like the idea but it seems that there is a new version of this documentation - maybe a new package that i can't find -> https://dev.auth.nuxtjs.org/
Might be just styling ? A lot of package are going by this, i will have a look
from laranuxt.
@GautierDele I opened this thread to handle discussion about future development of the package.
First order of business: Consider making the TypeScript branch the default
Pros
- Typescript is a much nicer experience in development because strict types offer MUCH better instrumentation in IDEs.
- Typescript avoids most run time errors by raising them already at compilation time... in addition with the correct IDE configuration prevents devs from coding such errors in the first place
- Also with
nuxt-property-decorator
it is easy to define components as classes and thus should be more intuitive for people with OOP experience
Cons
- Some new syntax to learn, but it mostly concerns typing an interface definition
from laranuxt.
Second order of business: Consider Vuepress page for documentation and presentation
Vuepress allows to easily create a web page from Markdown files.
Features include (but are not limited to):
- easy to configure landing page
- automatic menu
- exchangeable and customizable templates
Of course the initial page in the package should show some info about the project, but as people might use this as template i think it should be kept minimal
from laranuxt.
LaraNuxt doc can be found here: Pull Request #17 - nuxt-laravel.
- This is using nuxt content which seems nicer than vuepress
- I don't like the idea to implement this into nuxt-laravel because this is the LaraNuxt doc but the fact is that LaraNuxt is a template -> don't want to push docs to everybody packages
- This is just a pull request we can move easely the doc while developping it
from laranuxt.
Related Issues (11)
- Question: regarding the laravel-nuxt package requirement HOT 1
- 500 Internal Server Error HOT 2
- Dev crashing
- Uncaught SyntaxError: Unexpected token '<'
- Load nuxt with e.g. http://example.com instead of localhost.
- Can't start with npm run dev. HOT 2
- Laravel support disabled after compiling. Can laravel internally for database query or inserts not use.
- Template repository HOT 1
- Nuxt router at root path HOT 2
- EventSource wrong MIME type HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laranuxt.